-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
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
If port is already being used then start server on a different port. #85
Comments
If accepted, I can work on this using this module. |
I noticed this issue too, I'd prefer to have it just throw an error personally. If you start switching ports dynamically it can get confusing, especially for newer users who will be referencing the docs. @sotojuan if you have a solution in mind make a PR :) It's easier to get into more nitty gritty discussion on a PR. |
I think it should ask: |
But yes, this is accepted, and we can discuss specific UX in a PR. |
It would be nice if you could specify the port too. |
I’d like to try an automatic way first. |
Yep, I’ll review next week. 👍 |
This was fixed in #243. |
Should be out in 0.2.0 alpha, please help us test it. #190 |
Strangely, I'm finding that create-react-app 0.2.3 still is unable to detect another service running at port 3000. I have a Rails app running on 3000, and
When I go to |
We use |
Currently if I already have a different server listening on port 3000 then
react-scripts start
still starts up and saysThe app is running at http://localhost:3000/
, but it's actually not.It should either fail to start up (in which case there should be a way to manually specify a different port) or automatically pick an available port.
The text was updated successfully, but these errors were encountered: