改名
This commit is contained in:
@@ -64,12 +64,12 @@ class ServerInotify extends Process
|
|||||||
*/
|
*/
|
||||||
public function tick()
|
public function tick()
|
||||||
{
|
{
|
||||||
$this->loadByDir(APP_PATH . 'app', true);
|
|
||||||
$this->loadByDir(APP_PATH . 'routes', true);
|
|
||||||
$this->loadByDir(__DIR__ . '/../../', true);
|
|
||||||
if ($this->isReloading) {
|
if ($this->isReloading) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
$this->loadByDir(APP_PATH . 'app', true);
|
||||||
|
$this->loadByDir(APP_PATH . 'routes', true);
|
||||||
|
$this->loadByDir(__DIR__ . '/../../', true);
|
||||||
Timer::after(2000, [$this, 'tick']);
|
Timer::after(2000, [$this, 'tick']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user