angularangular-builder

Can I use ng serve command after using ng build command?


I have to deploy my application in a cloud server. For that purpose I need to run ng build command. However, I haven't completed my development in local machine. To continue the development and run the application, I need to run ng serve. So my question here is do I able to continue my development after deploying my application in cloud environment?


Solution

  • So my question here is do I able to continue my development after deploying my application in cloud environment?

    There would not issues in running ng serve after you have run ng build. ng build will just get you the deployment files in your dist folder.

    You can continue running the app using ng serve as many times as you want.

    Please read through https://angular.io/guide/deployment