Created
October 23, 2019 05:01
-
-
Save ratacibernetica/264ea1130d344b25b2d4c2e0026b0bce to your computer and use it in GitHub Desktop.
phpunit run automatically with inotifywait (linux)
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 | |
FILE=$(inotifywait tests/*/*.php --format="%w%f" ) && | |
clear && | |
vendor/bin/phpunit --color $FILE | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment