objrepo/objrepo/watchtest.sh
2013-07-24 18:53:31 +12:00

7 lines
128 B
Bash
Executable file

#!/bin/bash
while true; do
find . -iname '*.py' | xargs inotifywait -q -e CLOSE_WRITE
sleep 1
./manage.py test "$@"
done