This commit is contained in:
2022-09-05 18:32:27 +08:00
parent b764ced6fa
commit 14080f7e30
+4 -4
View File
@@ -156,15 +156,15 @@ class Scanner extends BaseProcess
*/
public function timerReload()
{
if ($this->isReloading) {
return;
}
$this->logger->warning('file change');
$swow = \Kiri::getDi()->get(ServerInterface::class);
$swow->reload();
$this->isReloading = FALSE;
$this->loadDirs();
$this->isReloading = FALSE;
}
}