fix: allow setting server config from fresh config (#1889)
This commit is contained in:
@@ -54,7 +54,7 @@ export async function dev(
|
||||
config.dev = true;
|
||||
config.loadSnapshot = false;
|
||||
const ctx = await getServerContext(config);
|
||||
await startFromContext(ctx, options);
|
||||
await startFromContext(ctx, config.server);
|
||||
} else {
|
||||
// Legacy entry point: Back then `dev.ts` would call `main.ts` but
|
||||
// this causes duplicate plugin instantiation if both `dev.ts` and
|
||||
|
||||
Reference in New Issue
Block a user