NPM repository for dev-watch - Watch and compile/transform folders/files
npm install -g dev-watch
Add to your JSON configuration file (it can be
package.json) a property
devWatch containing an
Object with the different watchers you want to use.
Here is a sample :
cmd property defines the kind of things to do :
|dev||Compile and transform everytime something changes|
|prod||Compile and transform, then exit|
|clean||Clean the destination folders/files (might be unsafe)|
runs property defines the watchers. Call
dev-watch to get a list of the watchers and their properties.
dev-watch <configuration-file-path> [<cmd>]dev-watch package.jsondev-watch package.json clean