Simple, no deps, "run on dir change" tool for Mac
MIT License
Simple, no deps, "run on dir change" tool for Mac
npm install -g macmon
# runs `node index.js` everytime cwd (recursively) changes
macmon node index.js
If you want to watch another dir than cwd
, use -w
# same as above but watches ../ recursively
macmon -w ../ node index.js
You can specify as many directories to watch as you prefer using multiple -w
arguments.
MIT