From 49d0ba7b3c51bc533ecbf9ad75191970551af62e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 14 Jan 2022 11:43:02 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=B9=E5=90=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fdf58326 --- kiri-engine/FileListen/Inotify.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kiri-engine/FileListen/Inotify.php b/kiri-engine/FileListen/Inotify.php index 540650f4..39e59061 100644 --- a/kiri-engine/FileListen/Inotify.php +++ b/kiri-engine/FileListen/Inotify.php @@ -87,6 +87,9 @@ class Inotify } //非重启类型 if (str_ends_with($ev['name'], '.php')) { + + var_dump($ev); + Timer::after(3000, fn() => $this->reload($ev['name'])); $this->isReloading = TRUE; }