Chokidar file watcher to auto-run Pest tests

Fecha

When working with Pest tests, I usually use Chokidar file watcher to auto-run my test and have instant feedback after changing any code.

chokidar "app/**/*.php" "tests/**/*.php" -c "pest --filter 'work in progress test'"

You can install Chokidar CLI via npm:

npm install -g chokidar-cli