This commit is contained in:
2023-12-12 10:16:28 +08:00
parent 9a5384e3ef
commit 2add68b33a
+2
View File
@@ -79,9 +79,11 @@ class Application extends BaseApplication
if (!($beforeCommandExecute->command instanceof ServerCommand)) {
$scanner = $this->container->get(Scanner::class);
$scanner->read(APP_PATH . 'app/');
$scanner->parse('App');
} else if (\config('reload.hot', false) === false) {
$scanner = $this->container->get(Scanner::class);
$scanner->read(APP_PATH . 'app/');
$scanner->parse('App');
}
}