How do I build with watch enabled using angular-cli?

I don´t know if it´s a bug or just not documented, but it seems that you need to add a output path for watching with ng build -o dist -w while dist is your output path.

Update:

The command is now: ng build -op dist -w

Update 2:

The command is now: ng build --output-path dist --watch

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)