Stakeout Utility

This program monitors a bunch of files and runs a command when any of them changes.

The idea was pilfered from Pragmatic Automation. This program uses fcntl and thus only works on Unix derivatives.

Here’s how you might use it:


find -name *.py | xargs ./stakeout.py src/TestAll.py

Downloads