Created
July 16, 2012 13:49
-
-
Save 0atman/3122826 to your computer and use it in GitHub Desktop.
Run Django tests on change
This file contains hidden or 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
| while inotifywait -r -q -q -e close_write *; | |
| do ./manage.py test -v0 --failfast; | |
| done |
Author
Author
Tweaked to be recursive, multi-line.
Author
On Ubuntu, needs the package inotify-tools
Author
sudo sysctl fs.inotify.max_user_watches=100000
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tweaked to be less verbose, both inotifywait and django tests.