Build hot reload artifacts before worker restart

This commit is contained in:
2026-07-10 17:13:20 +08:00
parent ca68418e0d
commit d3ca24c4c5
3 changed files with 129 additions and 1 deletions
+2
View File
@@ -21,8 +21,10 @@ class ServerProviders extends Providers
public function onImport(): void
{
$server = $this->container->get(ServerCommand::class);
$builder = $this->container->get(FileBuildCommand::class);
$console = $this->container->get(Application::class);
$console->addCommand($server);
$console->addCommand($builder);
}
}