Por Oliver Servín en English

Chokidar file watcher to auto-run Pest tests

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

// torchlight! {"lineNumbers": false}
chokidar "app/**/*.php" "tests/**/*.php" -c "pest --filter 'work in progress test'"

You can install Chokidar CLI via npm:

// torchlight! {"lineNumbers": false}
npm install -g chokidar-cli