From 103cc9610344f648f2b27ec7dbe2f9e6c97e9c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 14 Jan 2022 14:19:52 +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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kiri-engine/FileListen/Inotify.php b/kiri-engine/FileListen/Inotify.php index 39e59061..ccd20151 100644 --- a/kiri-engine/FileListen/Inotify.php +++ b/kiri-engine/FileListen/Inotify.php @@ -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; }