Watch a src and test paths recursively to make phpunit tests automaticaly using inotify-tools
#!/bin/bash reset inotifywait --exclude ".+swp" -rm -e modify --format "f" \ ./src/ ./test/ | while read dir do reset phpunit done