Watcher is a daemon that watches specified files/folders for changes and fires commands in response to those changes. It is similar to incron, however, configuration uses a simpler to read yaml file instead of a plain text file. It's also written in Python, making it easier to hack.
See jobs.yml for proper configuration syntax
Dependencies: python, python-pyinotify, python-yaml
In Ubuntu (and Debian):
make sure watcher.py is marked as executable
start the daemon with:
stop it wi…