Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-15 10:23:57 +08:00
parent b0c66c9c6a
commit fa76b5170a
+2 -3
View File
@@ -86,13 +86,12 @@ class Inotify
continue;
}
var_dump($ev);
$search = array_search($ev['wd'], $this->watchFiles);
//非重启类型
if (str_ends_with($ev['name'], '.php')) {
Timer::after(3000, fn() => $this->reload($ev['name']));
Timer::after(3000, fn() => $this->reload($search));
$this->isReloading = TRUE;
}
}