seregazhuk / php-watcher

Monitor for any changes in your php application and automatically restart it (suitable for async apps).
https://sergeyzhuk.me/2019/10/18/php-watcher/
389 stars 31 forks source link

[Feature] Make it truly asynchronous #8

Closed seregazhuk closed 5 years ago

seregazhuk commented 5 years ago

Now, file changes detections run synchronously and thus it blocks the event loop. The idea is to create a child process. Inside we run the script which endlessly checks the changes.