v1.1.0 2019-09-11 05:35 UTC

This package is auto-updated.

Last update: 2020-02-11 06:39:26 UTC


Watch current working directory for changes in files and execute a callback once a change is detected.

Particularly useful to restart an async web-server based on swoole or amphp. A binary is included:

# restart AMPHP web-server once a change in PHP files is detected
./vendor/bin/phpwatch.php php httpserver.php