From c2a46396ffc8d88194e21debd2036786d5141c53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 19 Aug 2021 15:40:28 +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/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Application.php b/System/Application.php index 09424c50..ce53cfd1 100644 --- a/System/Application.php +++ b/System/Application.php @@ -86,7 +86,7 @@ class Application extends BaseApplication */ public function withFileChangeListen() { - $manager = di(ServerManager::class); + $manager = $this->getServer(); $manager->addProcess(FileChangeCustomProcess::class); putenv('enableFileChange=on');