A smart directory watcher cli utility.
npm install watchem
|2||downloads in the last week|
|4||downloads in the last month|
|Version||0.0.1 last updated 6 months ago|
|Dependencies||fireworm, colors, blessed|
A utility that watches your directory for file changes, and then executes a command on change. The output of the command is always anchored to the top to a box which makes for a nice iterative development experience.
Watch it in action in this screencast (3:22).
First you need Node. Then
npm install watchem -g
watchem "Makefile,**/*.c,**/*.h" make
This command will watch the
Makefile, and any
.hfiles within the current directory and within any of its subdirectories. It runs the command
make and re-run it whenever any matching files change, even new ones that are created.