Open getchu opened 3 years ago
PHP 7.4 easyswoole/easyswoole 3.4.2 ext-swoole 4.6.x ext-inotify 3
PHP Deprecated: Swoole\Event::rshutdown(): Event::wait() in shutdown function is deprecated in Unknown on line 0
private static function hostReload(){ if (Core::getInstance()->runMode() === 'dev'){ $hotReloadOptions = new \EasySwoole\HotReload\HotReloadOptions; $hotReloadOptions->setMonitorFolder([EASYSWOOLE_ROOT . '/App']); $hotReload = new \EasySwoole\HotReload\HotReload($hotReloadOptions); $server = ServerManager::getInstance()->getSwooleServer(); $hotReload->attachToServer($server); } }
我也遇到同样的问题,不知道解决没
swoole4.6+废弃的功能.建议使用swoole4.4.23
swoole4.6+
swoole4.4.23
PHP 7.4 easyswoole/easyswoole 3.4.2 ext-swoole 4.6.x ext-inotify 3
PHP Deprecated: Swoole\Event::rshutdown(): Event::wait() in shutdown function is deprecated in Unknown on line 0