modify plugin name
This commit is contained in:
@@ -93,7 +93,9 @@ class Inotify
|
|||||||
|
|
||||||
//非重启类型
|
//非重启类型
|
||||||
if (str_ends_with($ev['name'], '.php')) {
|
if (str_ends_with($ev['name'], '.php')) {
|
||||||
|
if ($this->isReloading) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
Timer::after(3000, fn() => $this->reload($search));
|
Timer::after(3000, fn() => $this->reload($search));
|
||||||
$this->isReloading = TRUE;
|
$this->isReloading = TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user