Wednesday, March 20, 2019

Angular/Ng command to run node server for testing app

Leave a Comment
While developing angular application through VS Code or any editor of choice, the command to run Nodejs server in order to test web application/ app in browser we need to run following command:

ng serve












This will compile angular application and deploy it on local Nodejs server mostly configured at http://localhost:4200/

Whenever we make any changes to any *.ts, index.html or css file & save it, this will recompile angular application and reload it in browser.



If You Enjoyed This, Take 5 Seconds To Share It

0 comments: