From 79e6335c327ad53d4b1854e3b96672c068339185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 3 Sep 2020 01:20:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system/Process/PrintIn.php | 20 -------------------- system/Process/ServerInotify.php | 4 +++- 2 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 system/Process/PrintIn.php diff --git a/system/Process/PrintIn.php b/system/Process/PrintIn.php deleted file mode 100644 index 4a3fc49b..00000000 --- a/system/Process/PrintIn.php +++ /dev/null @@ -1,20 +0,0 @@ -inotify, [$this, 'check']); Event::wait(); } else { - Timer::tick(1000, [$this, 'tick']); + Timer::tick(10000, [$this, 'tick']); } } public function tick() { + $this->debug('file modify listener.'); + $this->reload(); } /**