From 3039df31c260bbdbb374902650e614027e9582dc Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Mon, 20 Sep 2021 03:14:08 +0800 Subject: [PATCH] 111 --- core/Application.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Application.php b/core/Application.php index f7e29815..cc5b3637 100644 --- a/core/Application.php +++ b/core/Application.php @@ -238,6 +238,7 @@ class Application extends BaseApplication if (!($class instanceof ServerCommand)) { scan_directory(directory('app'), 'App'); } else if (!is_enable_file_modification_listening()) { + $this->getRouter()->read_files(); scan_directory(directory('app'), 'App'); } $class->run($input, $output);