We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 976b4f4 commit 6a7688eCopy full SHA for 6a7688e
packages/core/src/node/dev.ts
@@ -20,9 +20,9 @@ export async function dev(options: DevOptions): Promise<ServerInstance> {
20
const isProd = false;
21
const pluginDriver = new PluginDriver(config, isProd);
22
await pluginDriver.init();
23
+ const modifiedConfig = await pluginDriver.modifyConfig();
24
25
try {
- const modifiedConfig = await pluginDriver.modifyConfig();
26
await pluginDriver.beforeBuild();
27
28
// empty temp dir before build
@@ -44,6 +44,6 @@ export async function dev(options: DevOptions): Promise<ServerInstance> {
44
45
return server;
46
} finally {
47
- await writeSearchIndex(config);
+ await writeSearchIndex(modifiedConfig);
48
}
49
0 commit comments