Skip to content

Commit d9768c6

Browse files
authored
Merge pull request #2365 from bashmish/fix/await-build-start
fix(dev-server-rollup): await buildStart in serverStart
2 parents 627696e + 177a6de commit d9768c6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/red-tigers-brush.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@web/dev-server-rollup': patch
3+
---
4+
5+
fix: await buildStart in serverStart

packages/dev-server-rollup/src/rollupAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export function rollupAdapter(
106106
transformedOptions = rollupInputOptions;
107107
}
108108
if (typeof rollupPlugin.buildStart === 'function') {
109-
rollupPlugin.buildStart?.call(
109+
await rollupPlugin.buildStart?.call(
110110
rollupPluginContexts.pluginContext,
111111
rollupPluginContexts.normalizedInputOptions,
112112
);

0 commit comments

Comments
 (0)