This commit is contained in:
as2252258@163.com
2021-09-20 03:14:08 +08:00
parent ca554c4f5f
commit 3039df31c2
+1
View File
@@ -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);