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. superuser.com/questions/181517/…).