Reference

startDevServer

Starts the local app-router development server with Vite middleware and route compilation. The server trusts only the configured host settings, merges declared application packages into the development import policy, and returns a `close()` method that should be awaited by tests and scripts.

Signature

function startDevServer(options: StartDevServerOptions): Promise<{ server: Server; url: string; function close(): Promise<void> }>