pest-plugin-watch
pest-plugin-watch copied to clipboard
Fix colors & fswatch error condition
Fixing two issues that are addressed here https://github.com/pestphp/pest/issues/789:
-
--watch
does not show colors. -
When
fswatch
is not installed, the condition insidecheckFswatchIsAvailable()
fails, therefore it runs the tests once and doesn't give an error message. This is the message that was given from runningfswatch
in my Ubuntu 20 (WSL):