diff --git a/skeleton/webpack/README.md b/skeleton/webpack/README.md index 14387f202..17abcd7cc 100644 --- a/skeleton/webpack/README.md +++ b/skeleton/webpack/README.md @@ -10,12 +10,14 @@ To enable Webpack Bundle Analyzer, do `npm run analyze` (production build). To enable hot module reload, do `npm start -- --hmr`. -To change dev server port, do `au run --port 8888`. +To change dev server port, do `npm start -- --port 8888`. -To change dev server host, do `au run --host 127.0.0.1` +To change dev server host, do `npm start -- --host 127.0.0.1` -**PS:** You could mix all the flags as well, `au run --host 127.0.0.1 --port 7070 --open --hmr` +**PS:** You could mix all the flags as well, `npm start -- --host 127.0.0.1 --port 7070 --open --hmr` + +For long time aurelia-cli user, you can still use `au run` with those arguments like `au run --env prod --open --hmr`. But `au run` now simply executes `npm start` command. ## Build for production -Run `npm run build`. +Run `npm run build`, or the old way `au build --env prod`.