This commit is contained in:
2020-11-17 16:59:22 +08:00
parent 61cbe9088b
commit 2204917095
+3 -5
View File
@@ -174,11 +174,9 @@ class ServerInotify extends Process
{ {
$this->isReloading = true; $this->isReloading = true;
$this->trigger_reload(); $this->trigger_reload();
if (Snowflake::isLinux()) { $this->clearWatch();
$this->clearWatch(); foreach ($this->dirs as $root) {
foreach ($this->dirs as $root) { $this->watch($root);
$this->watch($root);
}
} }
$this->int = -1; $this->int = -1;
$this->isReloading = FALSE; $this->isReloading = FALSE;