让windows开发支持代码热更新,workerman-filemonitor for windows

workerman-filemonitor只能用于linux,但是我们平时开发都是用的windows。基于workerman-filemonitor二次修改,可完美实现windwos开发时的代码热更新。 经过测试,windows下不能直接在filemonitor启动的进程中获取我们需要的父进程,所以需要在你启动的gateway文件中添加如下代码(该代码一定要放在Worker::runAll()之前) require_...

lxping 发表与 2019-12-31 3969 浏览 4 评论

theonewu

120
积分
0
获赞数
0
粉丝数
2022-04-17 加入
🔝