Hi Kartech11,,
You don't need the `-op dist` part, as that is the default anyway. The `-w` flag puts the cli in watch mode, which is what you want. If there are error's that means that there are still error's in your code, that you need to fix. Committing any change to disk, will indeed trigger a rebuild. This is not an issue, this is how it is supposed to work ;)
BTW, you are not watching the 'dist' folder. the watch is on the src folder (or everything outside dist, not sure how it is setup internaly. tbh, I don't really care)
Regards
Sander