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