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

Launch 2 parallel ionic serve failed #1822

Closed
aloumeau-hager opened this issue Jan 2, 2017 · 3 comments
Closed

Launch 2 parallel ionic serve failed #1822

aloumeau-hager opened this issue Jan 2, 2017 · 3 comments

Comments

@aloumeau-hager
Copy link

Short description of the problem:

Since ionic-cli 2.1.18 i can't run 2 ionic serve at the same time

What behavior are you expecting?

run 2 ionic serve at the same time

i think ionic-cli just not test anymore if the port is already use.
But something more strange is the difference between "--livereload-port" "35730"" and "listen EADDRINUSE 0.0.0.0:53703" i don't know if it's normal

> ionic-app-scripts serve "--v2" "--address" "0.0.0.0" "--port" "8101" "--livereload-port" "35730"

[10:14:36]  ionic-app-scripts 0.0.47
[10:14:37]  watch started ...
[10:14:37]  build dev started ...
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE 0.0.0.0:53703

hope it can help you to improve ionic-cli

@matomesc
Copy link

matomesc commented Jan 5, 2017

Getting the same error when I'm running ionic serve followed by ionic run android --device. I tried using different ports via -r <port> and -p <port> but it fails with the same error message above.

@gianpaj
Copy link

gianpaj commented Apr 19, 2017

For others looking for this, the workaround can be found here:

#1678 -> #1678 (comment)

@imhoffd
Copy link
Contributor

imhoffd commented Jul 12, 2018

This was just fixed in ionic-team/ionic-app-scripts@271a6e1

Please upgrade to the latest app-scripts.

@imhoffd imhoffd closed this as completed Jul 12, 2018
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

4 participants