Search by tag: laravel mix
It is a useful tool, but it lacks (and will always lack) PHPUnit support. So I had to look for another solution and the savior was phpunit-watcher. Install, run and... code. That's it! It comes with useful features and customizations that you can tailor to your needs.
I ran these commands in my Homestead box:
$ composer global require spatie/phpunit-watcher
$ phpunit-watcher watch