This commit is contained in:
2026-04-17 14:10:48 +08:00
parent eeb348c053
commit a31c24ddf3
+1 -3
View File
@@ -71,9 +71,7 @@ class Application extends BaseApplication
public function beforeCommandExecute(OnBeforeCommandExecute $beforeCommandExecute): void public function beforeCommandExecute(OnBeforeCommandExecute $beforeCommandExecute): void
{ {
if ($beforeCommandExecute->command instanceof ServerCommand) { if ($beforeCommandExecute->command instanceof ServerCommand) {
if (config('servers.reload.hot', false) === false) { return;
return;
}
} }
$scanner = $this->container->get(Scanner::class); $scanner = $this->container->get(Scanner::class);
$scanner->scan(APP_PATH . 'app/'); $scanner->scan(APP_PATH . 'app/');