
Inotify-hookable is a program that monitor files with Linux inotify. This program accepts options to specify the files to be monitored and the command to run when a file has changed (based in kernel inotify)
inotify-hookable main advantage over inotifywait are: - command to run after watch can be specified with an option - emacs and vi backup files are ignored by default
Example:
inotify-hookable -f foo.c -c 'gcc -o foo foo.c'