I started working on a company's project, and I've been told that to start the local development server I must first run the command:
"package:serve": "ng build project-name --watch"
and then:
"start": "ng serve"
The problem in doing so, is that ng serve
starts reloading as soon as ng build
starts recompiling, so after each file change it refreshes the browser ~3 times and often doesn't show the new changes in the browser window until a 4th (manual) refresh.
Now as you can see, this is VERY uncomfortable to use. I wish that ng serve would refresh only 1 time, after the build is done.