CLI server port error?


#1

I’ve just noticed that the CLI no longer auto-increments the localhost port number when running more than 1 app at a time.

Previously, typing ionic serve on the command line for 2 projects used to result in one at the base port 8100 and the other at 8101. Now the 2nd app throws an error.

I’ve just uninstalled and reinstalled NodeJS/NPM/Ionic2. Am I missing some script update?

Thanks,
Ryan


#2

You might be interested in this issue.


#3

thanks @rapropos!

Looks like I’ll have to stick with the quick fix of:

$appOne > ionic serve
$appTwo > ionic serve -p 8101