This commit is contained in:
2021-11-19 18:21:59 +08:00
parent ef95f912cb
commit f4f48ebad7
+3
View File
@@ -84,6 +84,9 @@ class Inotify
*/ */
public function reload() public function reload()
{ {
if ($this->process->isReloading) {
return;
}
$this->process->isReloading = true; $this->process->isReloading = true;
$this->process->trigger_reload(); $this->process->trigger_reload();
$this->clearWatch(); $this->clearWatch();