Skip to content
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

ember serve: Livereload port finding and binding is not atomic #15975

Closed
paddor opened this issue Dec 13, 2017 · 3 comments
Closed

ember serve: Livereload port finding and binding is not atomic #15975

paddor opened this issue Dec 13, 2017 · 3 comments

Comments

@paddor
Copy link

paddor commented Dec 13, 2017

Starting two ember serve processes (e.g. to test a high availability setup) using a Procfile and Hivemind/Overmind (they're like Foreman), one of them usually fails like this:

Livereload failed on http://localhost:49153.  It is either in use or you do not have permission.

Relevant lines from the Procfile:

ember-primary: cd webui && ember serve --port 4200
ember-backup: cd webui && ember serve --port 4201

Running one of them with a prepended sleep 10; often helps, but not always. Maybe you could make that section atomic where Ember tries to find an available port and bind to it?

@btecu
Copy link
Contributor

btecu commented Dec 14, 2017

Probably belongs in https://github.com/ember-cli/ember-cli

@rwjblue
Copy link
Member

rwjblue commented Dec 16, 2017

Agreed, @paddor would you mind moving the issue over to ember-cli's repo?

@paddor
Copy link
Author

paddor commented Dec 18, 2017

Sure, just did. Thanks anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants