Skip to content

Commit d5cfea5

Browse files
simonhaenischadamdbradley
authored andcommitted
fix(hmr): call all callbacks in build event subscribers (#1552)
1 parent 896022d commit d5cfea5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/events.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class BuildEvents implements d.BuildEvents {
1414
subscribe(eventName: 'buildLog', cb: (buildLog: d.BuildLog) => void): Function;
1515
subscribe(eventName: d.CompilerEventName, cb: Function): Function {
1616
const evName = getEventName(eventName);
17-
const callbacks = this.evCallbacks.get(eventName);
17+
const callbacks = this.evCallbacks.get(evName);
1818

1919
if (callbacks == null) {
2020
this.evCallbacks.set(evName, [cb]);

0 commit comments

Comments
 (0)