Shell utility for watching file changes.
Intended to be used like:
while watch-file test.c; do gcc test.c -o test && ./test; done
Install npm. (Comes with Node.js).
npm install -g watch-file
watch-file <files...>
Wait until one of the files changes, then exit.