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(); }