All Projects → walkor → workerman-filemonitor

walkor / workerman-filemonitor

Licence: other
监控文件更新并自动reload workerman

Programming Languages

PHP
23972 projects - #3 most used programming language

workerman-filemonitor

监控文件更新并自动reload workerman。默认只监控Applications目录,如果要监控其它目录,请更改Applications/FileMonitor/start.php中$monitor_dir,路径最好使用绝对路径。

注意

只能更新onXXX中加载的文件,启动脚本直接加载的文件和代码无法自动更新

只有在debug模式启动后才有效,daemon模式不生效。

使用

直接将Applications下的FileMonitor目录拷贝到你自己的Applications目录下,重启workerman即可

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].