改名
This commit is contained in:
@@ -63,6 +63,8 @@ class Inotify
|
|||||||
if (!($events = inotify_read($this->inotify))) {
|
if (!($events = inotify_read($this->inotify))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var_dump($this->process->isReloading);
|
||||||
if ($this->process->isReloading) {
|
if ($this->process->isReloading) {
|
||||||
if (!$this->process->isReloadingOut) {
|
if (!$this->process->isReloadingOut) {
|
||||||
$this->process->isReloadingOut = true;
|
$this->process->isReloadingOut = true;
|
||||||
@@ -97,6 +99,8 @@ class Inotify
|
|||||||
$this->process->isReloading = true;
|
$this->process->isReloading = true;
|
||||||
$this->process->trigger_reload();
|
$this->process->trigger_reload();
|
||||||
|
|
||||||
|
var_dump('trigger_reload');
|
||||||
|
|
||||||
$this->clearWatch();
|
$this->clearWatch();
|
||||||
foreach ($this->dirs as $root) {
|
foreach ($this->dirs as $root) {
|
||||||
$this->watch($root);
|
$this->watch($root);
|
||||||
|
|||||||
Reference in New Issue
Block a user