We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I change elm-app start default port value? (:3000 is already occupied with another service, so I can't run my Elm app.)
elm-app start
The text was updated successfully, but these errors were encountered:
Thanks for the contribution, this is totally a must!
I think it should be possible to specify the port by using -p or --port flag.
-p
--port
Also we need a better error, when port is occupied.
Sorry, something went wrong.
ce79177
Couldn't get a -p or --port flag to work, and there's no --help to confirm syntax.
--help
After taking a look at halfzebra's commit ce7917749a64f6d211a7d3bdb2ab814ea882a5a7, it looks like the port is controlled by the environment variable PORT.
PORT
So, to set the port using bash, you may use PORT=8080 elm-app start
PORT=8080 elm-app start
@montycarlo Thank you Josh that was perfect.
PORT=8000 elm-app start
halfzebra
No branches or pull requests
How can I change
elm-app start
default port value?(:3000 is already occupied with another service, so I can't run my Elm app.)
The text was updated successfully, but these errors were encountered: