shadowfax icon indicating copy to clipboard operation
shadowfax copied to clipboard

--watch 启动异常

Open s51983 opened this issue 4 years ago • 0 comments

PHP 7.3 Swoole 4.5.2

php shadowfax start --watch

显示以下错误,修改文件无法自动重启服务器。fswatch单独运行正常。 PHP Fatal error: Uncaught HuangYi\Watcher\Exceptions\InvalidOutputException: Error: Unknown event type: 414 in /www/wwwroot/pro.yenomcmf.com/vendor/huang-yi/swoole-watcher/src/Commands/Fswatch.php:124 Stack trace: #0 /www/wwwroot/pro.yenomcmf.com/vendor/huang-yi/shadowfax/src/Console/StartCommand.php(278): HuangYi\Watcher\Commands\Fswatch->parseEvents('Error: Unknown ...') #1 [internal function]: HuangYi\Shadowfax\Console\StartCommand->HuangYi\Shadowfax\Console{closure}(7) #2 [internal function]: Swoole\Event::rshutdown() #3 {main} thrown in /www/wwwroot/pro.yenomcmf.com/vendor/huang-yi/swoole-watcher/src/Commands/Fswatch.php on line 124

Fatal error: Uncaught HuangYi\Watcher\Exceptions\InvalidOutputException: Error: Unknown event type: 414 in /www/wwwroot/pro.yenomcmf.com/vendor/huang-yi/swoole-watcher/src/Commands/Fswatch.php:124 Stack trace: #0 /www/wwwroot/pro.yenomcmf.com/vendor/huang-yi/shadowfax/src/Console/StartCommand.php(278): HuangYi\Watcher\Commands\Fswatch->parseEvents('Error: Unknown ...') #1 [internal function]: HuangYi\Shadowfax\Console\StartCommand->HuangYi\Shadowfax\Console{closure}(7) #2 [internal function]: Swoole\Event::rshutdown() #3 {main} thrown in /www/wwwroot/pro.yenomcmf.com/vendor/huang-yi/swoole-watcher/src/Commands/Fswatch.php on line 124

s51983 avatar Jul 03 '20 08:07 s51983