改名
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user