Is there not a way to run PHPUnit on an entire test folder when a file is changed? It seems to only work if I explicitly set a test file to execute.
What I'm trying to do is something along the lines of:
# When routes.php is changed, run "phpunit app/tests"
watch('app/routes.php') { 'app/tests' }
Is that not possible, or am I being stupid?