auto-run phpunit on modified files, linux

watch -n 60 -d find <directory to look into> -mmin -1 -iname '"*.php"' -exec 'phpunit --bootstrap=<directory to look into>/bootstrap.php {} \;'

Also read...

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>