Skip to content

Commit

Permalink
fix(bundling): rollup watch mode yields result from async iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo committed May 28, 2024
1 parent 2b820a2 commit cdd34a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rollup/src/executors/rollup/rollup.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export async function* rollupExecutor(

if (options.watch) {
// region Watch build
return createAsyncIterable(({ next }) => {
return yield* createAsyncIterable(({ next }) => {
const watcher = rollup.watch(rollupOptions);
watcher.on('event', (data) => {
if (data.code === 'START') {
Expand Down

0 comments on commit cdd34a5

Please sign in to comment.