Watch a directory and run a command whenever a file changes.