pestphp / pest-plugin-watch

The Pest Plugin Watch
https://pestphp.com
MIT License
17 stars 10 forks source link

Is this WIP? #15

Open flexchar opened 2 years ago

flexchar commented 2 years ago

As the title says, is this a work in progress? :)

Right now I'd love to migrate the company's projects however lack of automatic run is a big one holding back. Spatie/phpunit-watcher unfortunately doesn't work with Pest tests.

owenvoke commented 1 year ago

Very late reply, yes. This is still WIP. I mean, not much is happening here as we are still looking for a good cross-platform way of watching for file changes.

paulshryock commented 1 year ago

@owenvoke how about something like Chokidar? Pretty standard in the JS world.

benswinburne commented 1 year ago

@flexchar I've been using Spatie/phpunit-watcher with Pest successfully using the following

Create a file named phpunit-watcher.yml with the contents

---
phpunit:
  binaryPath: vendor/bin/pest

Then just run phpunit-watcher watch