I\'m working on a website that uses gulp to compile and browser sync to keep the browser synchronised with my changes.
The gulp task compiles everything
Also for others using Angular-CLI and publishing to a sub-folder on the webserver, check this answer:
When you're deploying to a non-root path within a domain, you'll need to manually update the tag in your dist/index.html.
In this case, you will need to update to
https://github.com/angular/angular-cli/issues/1080