A smart directory watcher cli utility.


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.

watchem "Makefile,**/*.c,**/*.h" make

This command will watch the Makefile, and any .c or .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.