Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-12 17:53:27 +08:00
parent 08d9551245
commit ebd643772d
+2 -1
View File
@@ -99,11 +99,12 @@ class Inotify
public function reload($path) public function reload($path)
{ {
$this->process->trigger_reload($path); $this->process->trigger_reload($path);
$this->process->int = -1;
$this->clearWatch(); $this->clearWatch();
foreach ($this->dirs as $root) { foreach ($this->dirs as $root) {
$this->watch($root); $this->watch($root);
} }
$this->process->int = -1;
$this->isReloading = FALSE; $this->isReloading = FALSE;
} }