-
Notifications
You must be signed in to change notification settings - Fork 307
Bug: serving more than one app at a time is broken #383
Comments
@Chuckv01 The quick fix to this is provide a port parameter to the second app. |
@jthoms1 Appreciate the response. However, there are two issues with that approach:
|
This is not actually a regression in the ionic-app-scripts codebase. App-scripts has taken some responsibility from the ionic-cli. This fix should most likely be done within the CLI. Previously the CLI was would programmatically find open ports and attach to those. We will probably keep this functionality in the CLI but then pass the selected port to app-scripts. This will problem you are seeing. I am going to move this issue to that codebase so that I can track it with the actual changes. |
This issue was moved to ionic-team/ionic-cli#1678 |
@jthoms1 Cheers mate. Thanks for the info. |
Short description of the problem:
When attempting to run
ionic serve
on more than one app at a time, anError: listen EADDRINUSE
error occurs when attempting to serve the 2nd app.What behavior are you expecting?
Two or more Ionic apps could be run in the browser at the same time.
Steps to reproduce:
a.
ionic start --v2 test tabs
b.
ionic start --v2 test2 tabs
cd test && ionic serve
cd test2 && ionic serve
Which @ionic/app-scripts version are you using?
0.0.43
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
The text was updated successfully, but these errors were encountered: