Use npm start . In a recently installed Angular application with ng new <name_of_app> , the package.json file has settings for this
"scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }
Thus, when using npm start ng serve will be executed, and browser synchronization will not be performed by browsers
source share