Fix sample command in scripts/bench/README.md (#12853)
Pete Nykänen committed
May 18, 2018 at 11:18 UTC
972d209dcc9edf020b3d144716211c295d1b0cc5
1 file changed
+2
-2
scripts/bench/README.md
+2
-2
@@ -5,7 +5,7 @@
5
In most cases, the only two commands you might want to use are:
6
7
- `yarn start`
8
-- `yarn build core,dom-client --type=UMD_PROD && yarn start --skip-build`
8
+- `yarn --cwd=../../ build core,dom-client --type=UMD_PROD && yarn start --skip-build`
9
10
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.
11
@@ -38,4 +38,4 @@ yarn start --headless
38
39
# runs only specific string matching benchmarks
40
yarn start --benchmark=hacker
41
-```
\ No newline at end of file
41
+```