This commit is contained in:
xl
2024-11-18 17:07:57 +08:00
parent 7e5301f02a
commit 91e5c4d66a
+2
View File
@@ -113,6 +113,8 @@ class HotReload extends AbstractProcess
}
$this->reloading = true;
file_put_contents('php://stdout', 'reloading server, please waite.', FILE_APPEND);
$this->clear();
di(ServerInterface::class)->reload();
$this->addListen();