I tried a search for "port"-related issues but didn't find any, so I'll make this one.
It would be nice to be able to specify a port other than 3000, either as a command line parameter or an environment variable. Some environments (Cloud9) restrict the ports you can use.
Right now, the process is pretty involved:
It is discuss in #101 , and there is a relevant PR #243
Do you want to close this issue if your question has been addressed?
I'll close this, it looks like the discussion near the end of #102 is heading in this direction.
We default to PORT from environment now if it is specified. Please try the new alpha: https://github.com/facebookincubator/create-react-app/pull/190
Awesome, thanks! PORT=xyz npm start
is working in the alpha.
Released as stable.
Most helpful comment
Awesome, thanks!
PORT=xyz npm start
is working in the alpha.