4

I'm aware about inotifywait/inotifywatch from inotify-tools, about entr (http://entrproject.org/) and that dozen of shell scripts around, but they are not what I need.

What I need is something similar to guard (https://github.com/guard/guard).

They way it works: you create a file in a directory that specifies what to monitor and what to do when those files change.

Guard is ok, but it is 1) resource consumptive (and on large projects its slow), 2) requires whole Ruby + bunch of dependency gems, 3) requires plugin to run shell commands.

There's also tup (http://gittup.org/tup/) and it is freaking awesome except one extremely stupid limitation: it can't output to directories other than the one where Tupfile is. Its way is to create a Tupfile in each subdirectory and that doesn't work for me.

What I want in the end: I specify file patterns and directories (if no, then watch all) in some file, run some command and it monitors stuff matching given rules, whenever files change / add it executes given commands. Thats it.

Any suggestions?

-1

Watchdog is Python library and shell utilities to monitor filesystem events.

|improve this answer|||||
  • Did you mind expanding upon how this fits into what OP is looking for? – 50-3 Sep 6 '13 at 0:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.