From 1ae7eb3d783c1f8ffb39345a84aac918e4bbe250 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Mon, 20 Sep 2021 01:28:47 +0800 Subject: [PATCH] 111 --- http-server/Worker/OnWorkerStart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-server/Worker/OnWorkerStart.php b/http-server/Worker/OnWorkerStart.php index 14b4b0ea..990886ee 100644 --- a/http-server/Worker/OnWorkerStart.php +++ b/http-server/Worker/OnWorkerStart.php @@ -30,7 +30,7 @@ class OnWorkerStart extends WorkerStart implements EventDispatcherInterface $time = microtime(true); ServerManager::setEnv('environmental', Kiri::WORKER); - if (!is_enable_file_modification_listening()) { + if (is_enable_file_modification_listening()) { $this->router->read_files(); $this->interpretDirectory(); }