When I run ng serve, everything seems to work except for one small issue, the main.js
file in the dist
folder does not change when the automatic build occurs as I change one of the component ts
files.
When I run ng build
, the changes I've made to my ts files DO clear out the dist
folder and replace it with the correct main.js
file.
I would have thought that ng serve
uses ng build
under the hood, but it's not in my case.
Any help on what I can look for would be appreciated.