Last active
May 9, 2016 07:04
-
-
Save jacqueswww/c866caf0aae4cb0ffa6131dd5c755078 to your computer and use it in GitHub Desktop.
Run tests on changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TEST_COMMAND="python manage.py test --keepdb --no-input --failfast "$1 | |
$TEST_COMMAND | |
while find ./ -name '*.py' | inotifywait --fromfile - -e modify; | |
do | |
$TEST_COMMAND | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment