From 0f700b24aead1716ed55ecdaa731f39acc7bfd16 Mon Sep 17 00:00:00 2001 From: tomazy Date: Wed, 15 Jun 2016 13:54:04 +0200 Subject: [PATCH] Updated documentation for setting a custom port --- docs/general/commands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/general/commands.md b/docs/general/commands.md index 5301a320ec..b9717e7513 100644 --- a/docs/general/commands.md +++ b/docs/general/commands.md @@ -68,9 +68,9 @@ minified and served gzipped. ### Port -To change the port the app is accessible at pass the `-p` option to the command +To change the port the app is accessible at pass the `--port` option to the command with `--`. E.g. to make the app visible at `localhost:5000`, run the following: -`$ npm start -- -p 5000` +`$ npm start -- --port 5000` ## Building