watch: Efficiently run a script on file changes on OS X with kqueue
"It uses kqueue to watch the files on the argument list. If a file is modified, watch prints out the name of the modified file and runs your script."