Created
May 19, 2011 12:10
-
-
Save rowan-m/980604 to your computer and use it in GitHub Desktop.
Watch existing PHP files in a directory and run phpunit on changes. Requires inotify-tools
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 | |
while true ; do | |
inotifywait -qq *.php && | |
clear && | |
phpunit --colors KataTest.php; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/862016