Ionic serve $PORT not working with c9 cloud


#1

I have updated ionic CLI to latest version(1.4.5) and now i am not able to run my app on c9 cloud

I am trying to run
$ ionic serve $PORT

any help on this?


#2

You can specify a port with the --port switch:

$ ionic serve --port 8080

Just type ionic help serve to see all options.


#3

Thanks encodedmirco, it worked