Thu 08 Aug 2013 06:49:12 AM PDT
Automatically run make when a file changes
Hey, kids! makewatch script!
Really simple: do a
makewatch [target] to re-run
make with the supplied [target] when any files
relevant to that target change.
This is something originally discussed in a thread on the linux-elitists mailing list.
Andrew Cowie has written something
The main thing that this one does differently is to
make which files matter to it, instead of doing
an inotifywatch on the whole directory. Comments and