Skip to content

Instantly share code, notes, and snippets.

@fiunchinho
Forked from asm89/gist:5797852
Created June 17, 2013 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fiunchinho/5797961 to your computer and use it in GitHub Desktop.
Save fiunchinho/5797961 to your computer and use it in GitHub Desktop.
# watch files and rerun phpunit on changes
phpunitwait() {
while inotifywait $(find $1 -name '*.php');
do
clear;
phpunit --colors $2;
done;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment