I'm developing a web project using some libraries that force me to launch a shell command to compile some files everytime i modify them.
This task is obviously tiresome and i'm looking to find some script to handle it (I'm on OSX).
Is there a way to automatically launch a shell script when content of a given directory (+subdirs) is changed?
inotifywait(see e.g. http://superuser.com/questions/181517/how-to-execute-a-command-whenever-a-file-changes). – Gilles 'SO- stop being evil' Aug 30 '10 at 07:03