(
options: ParsedServerOptions,
hooks: StartForegroundHooks = {},
)
| 274 | * to the current terminal. Resolves only via `process.exit` (SIGINT/SIGTERM). |
| 275 | */ |
| 276 | export async function startServerForeground( |
| 277 | options: ParsedServerOptions, |
| 278 | hooks: StartForegroundHooks = {}, |
| 279 | ): Promise<never> { |
| 280 | return runServerInProcess(options, { daemon: false }, hooks.onReady); |
| 281 | } |
| 282 | |
| 283 | /** |
| 284 | * Start the server in the current process and block until shutdown. Shared by |
nothing calls this directly
no test coverage detected