Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-14 14:19:52 +08:00
parent f2da99efce
commit 103cc96103
+4 -2
View File
@@ -85,11 +85,13 @@ class Inotify
if (!in_array($ev['mask'], $LISTEN_TYPE)) {
continue;
}
var_dump($ev);
//非重启类型
if (str_ends_with($ev['name'], '.php')) {
var_dump($ev);
Timer::after(3000, fn() => $this->reload($ev['name']));
$this->isReloading = TRUE;
}