walkor / workerman

An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.
http://www.workerman.net
MIT License
11.03k stars 2.25k forks source link

add a watch command #1025

Open diegogit03 opened 3 months ago

diegogit03 commented 3 months ago

I have some issues with restart workers manually

i think on something like this:

php server.php watch

or you can add a --dir flag:

php server.php watch --dir=src