This commit is contained in:
2020-11-17 17:47:24 +08:00
parent ae41309a58
commit 3f5edce2ca
+1 -5
View File
@@ -73,13 +73,10 @@ class ServerInotify extends Process
$this->loadByDir(APP_PATH . 'routes', true); $this->loadByDir(APP_PATH . 'routes', true);
$this->loadByDir(__DIR__ . '/../../', true); $this->loadByDir(__DIR__ . '/../../', true);
Coroutine::sleep(3); Timer::after(2000, [$this, 'tick']);
$this->tick();
} }
/** /**
* @param $path * @param $path
* @param bool $isReload * @param bool $isReload
@@ -103,7 +100,6 @@ class ServerInotify extends Process
} }
/** /**
* @param $value * @param $value
* @param $isReload * @param $isReload