grunt serve frezees at "Multiple addresses available."
On freshly generated directory (using "yo ionic"), if I run "grunt serve" I get the message:
Multiple addresses available.
Please select which address to use by entering its number from the list below:
1) 10.10.172.16 (eth0)
2) localhost
Address Selection:
Done, without errors.
Execution Time (2015-08-10 22:17:00 UTC)
ionic:serve 1.4s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 100%
Total 1.5s
And even if I type "1" or "2", nothing happens (10.10.172.16 is my IP address). No development server is started.
I am running:
- Ubuntu 14.04.3
- npm 2.11.3
- node v0.12.7
- io 1.4.7
- generator-ionic 0.7.3
Same issue?
@alanquigley same as...?
I think I found a workaround on http://stackoverflow.com/a/26254903:
instead using the "grunt serve" command i tried the "ionic serve" command. This script the didn't hang in the commandline so i could select an address. (in my case i selected 2 (the localhost)).
From this point it remembers the option you selected. so you can run "grunt serve" command again.
Thank you @gamaralf, exactly what I needed.