From 972d209dcc9edf020b3d144716211c295d1b0cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pete=20Nyk=C3=A4nen?= Date: Fri, 18 May 2018 11:18:35 +0300 Subject: [PATCH] Fix sample command in scripts/bench/README.md (#12853) --- scripts/bench/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bench/README.md b/scripts/bench/README.md index f8235dd23f..8345552b03 100644 --- a/scripts/bench/README.md +++ b/scripts/bench/README.md @@ -5,7 +5,7 @@ In most cases, the only two commands you might want to use are: - `yarn start` -- `yarn build core,dom-client --type=UMD_PROD && yarn start --skip-build` +- `yarn --cwd=../../ build core,dom-client --type=UMD_PROD && yarn start --skip-build` The first command will run benchmarks with all the default settings. A local and remote build will occur on React and ReactDOM UMD bundles, both local and remote repos will be run against all benchmarks. @@ -38,4 +38,4 @@ yarn start --headless # runs only specific string matching benchmarks yarn start --benchmark=hacker -``` \ No newline at end of file +```