How to build with watch enabled using angular cli

To build with watch enabled using angular cli you just need to add a output path just to watch with ng build -o dist -w where dist referes to your output path. Commands you can try to build with watch enabled using angular-cli

ng build --watch

ng build -op dist -w

here dist means your output path.

ng build --output-path dist --watch

npm run build

CP Variyani

http://codingfriday.com

He is a Full Stack Web Developer with almost 8 years of professional experience. Learn more and connect with him on Facebook, Instagram, LinkedIn.

Scroll to Top