#!/bin/bash
ARGS=${1:-}

echo "Start watching..."
fswatch -o "src/" "tests/" | xargs -n1 -I{} phpunit $ARGS