pywatch
pywatch copied to clipboard
Runs an arbitrary command if files specified to be watched change. It's good for automatically running unit tests when your code changes, similar to Ruby's ZenTest.
I've made major changes to the code in order to track newly created files in a directory. I've base my modification on the 0.4 version, because I like the python...
In Ubuntu 16.04, you can no longer install pywatch from pip and have it work. As such, it may be useful to others after me to clarify the simple install...
In ubuntu 16.04 the pip installable version of pywatch fails on python3/python2 incompatibility (error message like "print must have parentheses). So I came here to try to build pywatch directly,...
If you are watching a directory for changes, the command gets executed twice. Always.
When doing TDD is useful to clear the screen and see only new output. ``` os.system('clear') ``` Would do the trick, not sure if this would make sense as a...