改名
This commit is contained in:
@@ -47,9 +47,6 @@ class Inotify
|
|||||||
public function clear()
|
public function clear()
|
||||||
{
|
{
|
||||||
Event::del($this->inotify);
|
Event::del($this->inotify);
|
||||||
|
|
||||||
var_dump('clear event');
|
|
||||||
|
|
||||||
Event::exit();
|
Event::exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -76,10 +73,7 @@ class Inotify
|
|||||||
}
|
}
|
||||||
//非重启类型
|
//非重启类型
|
||||||
if (str_ends_with($ev['name'], '.php')) {
|
if (str_ends_with($ev['name'], '.php')) {
|
||||||
if ($this->process->int !== -1) {
|
sleep(2);
|
||||||
return;
|
|
||||||
}
|
|
||||||
usleep(2000);
|
|
||||||
$this->reload();
|
$this->reload();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user