Skip to content

Commit 2ab7cb1

Browse files
committed
forgot to loop over files that were detected for invalidation
1 parent d7d1562 commit 2ab7cb1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/host/app/lib/current-run.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,9 @@ export class CurrentRun {
311311
}, skipped these files ${JSON.stringify(skipList)}`,
312312
);
313313
let invalidationStart = Date.now();
314-
await this.batch.invalidate(new URL(url));
314+
for (let invalidationURL of invalidationList) {
315+
await this.batch.invalidate(new URL(invalidationURL));
316+
}
315317
console.log(
316318
`time to invalidate ${url} ${Date.now() - invalidationStart} ms`,
317319
);

0 commit comments

Comments
 (0)