变更
This commit is contained in:
+1
-1
@@ -172,7 +172,7 @@ class Server extends HttpService
|
|||||||
$reload = Config::get('reload.hot', false);
|
$reload = Config::get('reload.hot', false);
|
||||||
if ($reload !== false) {
|
if ($reload !== false) {
|
||||||
$this->provider->on(OnWorkerStart::class, [$this, 'LoadRoutingList']);
|
$this->provider->on(OnWorkerStart::class, [$this, 'LoadRoutingList']);
|
||||||
$this->manager->addProcess(Scanner::class);
|
$this->manager->addProcess(Kiri\Reload\Inotify::class);
|
||||||
} else {
|
} else {
|
||||||
$this->LoadRoutingList();
|
$this->LoadRoutingList();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user