Refactor start and dev commands. Start in child processes. Handle errors better

This commit is contained in:
2026-04-17 08:47:36 +01:00
parent a5f25d522e
commit 9a427412f3
38 changed files with 706 additions and 224 deletions
+9
View File
@@ -70,6 +70,7 @@ export type BunextConfig = {
* from the router
*/
pages_exclude_patterns?: RegExp[];
max_logs?: number;
};
export type BunextConfigMiddlewareParams = {
@@ -377,3 +378,11 @@ export type BunextAPIRouteHandler<
| Promise<BunextAPIRouteHandlerObjectReturn<T>>
| Response
| BunextAPIRouteHandlerObjectReturn<T>;
export type BunSpawnOptions = Bun.SpawnOptions.SpawnOptions<
"inherit",
"inherit",
"inherit"
> & {
cmd: string[];
};