I was wondering if it is possible to work on two Angular(2) projects at the same time. I open my first project using ng serve
and it runs on the server and when I save it it updates. But of coarse when I try to open another project with ng serve
it will tell you that "port:4200 is already in use". Is there a way to open a project on a different port?
Seeing that this is a virtual server, I can not think that just giving it another port number can be to difficult. I do not want to log out of the one project the whole time, and then into the second one and back again after changing just one line to see if it works.
Regards
ng serve
normally for the first project? And then just open localhost:4210 in browser for second project? Are the port numbers specific or can I use any numbers, just for clarity? – Mercantile