diff --git a/kiri-engine/FileListen/Inotify.php b/kiri-engine/FileListen/Inotify.php index 8f8d1676..933ea365 100644 --- a/kiri-engine/FileListen/Inotify.php +++ b/kiri-engine/FileListen/Inotify.php @@ -63,6 +63,8 @@ class Inotify if (!($events = inotify_read($this->inotify))) { return; } + + var_dump($this->process->isReloading); if ($this->process->isReloading) { if (!$this->process->isReloadingOut) { $this->process->isReloadingOut = true; @@ -97,6 +99,8 @@ class Inotify $this->process->isReloading = true; $this->process->trigger_reload(); + var_dump('trigger_reload'); + $this->clearWatch(); foreach ($this->dirs as $root) { $this->watch($root);