A tool that watches a directory for a specified type of file to change
If run with no options it will watch the current directory for changes in .c, .cpp and .h files and execute /usr/bin/make on changes.
This example will run /bin/echo with the options "hello world" when files with ending .txt are modified in the current directory.:
treewatch -c /bin/echo -o "hello world" -f .txt
The source is also available as a Mercurial repository at http://hg.atchoo.org/treewatch. To get a copy use "hg clone http://hg.atchoo.org/treewatch".
Treewatch is licensed under the GNU GPL v3.