Skip to content

Commit

Permalink
always run closeBundle even on watch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
intrnl committed Nov 30, 2020
1 parent b5f303d commit 6e7116f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rollup/rollup.ts
Expand Up @@ -56,7 +56,7 @@ export async function rollupInternal(
err.watchFiles = watchFiles;
}
await graph.pluginDriver.hookParallel('buildEnd', [err]);
if (!watcher) await graph.pluginDriver.hookParallel('closeBundle', []);
await graph.pluginDriver.hookParallel('closeBundle', []);
throw err;
}

Expand Down

0 comments on commit 6e7116f

Please sign in to comment.