改名
This commit is contained in:
@@ -71,8 +71,7 @@ class HotReload extends Command
|
|||||||
// TODO: Implement onHandler() method.
|
// TODO: Implement onHandler() method.
|
||||||
set_error_handler([$this, 'onErrorHandler']);
|
set_error_handler([$this, 'onErrorHandler']);
|
||||||
$this->dirs = Config::get('inotify', [APP_PATH . 'app']);
|
$this->dirs = Config::get('inotify', [APP_PATH . 'app']);
|
||||||
|
swoole_async_set(['enable_coroutine' => false]);
|
||||||
Runtime::enableCoroutine(false);
|
|
||||||
if (!extension_loaded('inotify')) {
|
if (!extension_loaded('inotify')) {
|
||||||
$this->driver = Kiri::getDi()->get(Scaner::class, [$this->dirs, $this]);
|
$this->driver = Kiri::getDi()->get(Scaner::class, [$this->dirs, $this]);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user