Revert "改名"
This reverts commit fdf58326
This commit is contained in:
@@ -85,11 +85,13 @@ class Inotify
|
|||||||
if (!in_array($ev['mask'], $LISTEN_TYPE)) {
|
if (!in_array($ev['mask'], $LISTEN_TYPE)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
var_dump($ev);
|
||||||
|
|
||||||
//非重启类型
|
//非重启类型
|
||||||
if (str_ends_with($ev['name'], '.php')) {
|
if (str_ends_with($ev['name'], '.php')) {
|
||||||
|
|
||||||
var_dump($ev);
|
|
||||||
|
|
||||||
Timer::after(3000, fn() => $this->reload($ev['name']));
|
Timer::after(3000, fn() => $this->reload($ev['name']));
|
||||||
$this->isReloading = TRUE;
|
$this->isReloading = TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user