Skip to content

Instantly share code, notes, and snippets.

Last active Dec 28, 2015
What would you like to do?
Run tests with every change in the app or tests code
if ! which inotifywait > /dev/null; then
echo "You must install the inotify-tools package to use this script";
exit 1;
while true; do
inotifywait -r -e modify src/ tests/ --excludei "(tpl|js|css|jpg|png|yml|yaml)$" &&
clear &&
ant phpunit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment