I don't want to use serve, I know it watches for changes, builds and serves. I want to build upon changes. According to "ng help", build takes parameter --watch
ng build Builds your app and places it into the output path (dist/ by default). --watch (Boolean) (Default: false) aliases: -w --watcher (String)
I tried both -w and --watcher but it just gives error.
>ng build -w
Path must be a string. Received null
question from:https://stackoverflow.com/questions/40224607/how-do-i-build-with-watch-enabled-using-angular-cli