I have an Angular application where a lot of rebuilds are necessary, to avoid long build times I use a deamon like process where I execute the ng build --prod --watch
command. This works fine BUT I cannot find a lot of documentation about the ng build
or ng build --watch
command and before I use this in production I want to understand what happens behind the scenes.
Could you provide me with information or some usefull links about the angular cli especially the build command and the --watch flag.
Is it there a mechanism or an API like tool where I can use the ng build --watch like behaviour to build my "own" tool with some additional features client side notification, replace or add new/changed files etc.