Skip to content

Commit f255072

Browse files
authored
Changed the coverage updates from active to visible (#466)
1 parent c27b194 commit f255072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coverage-system/coverageservice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export class CoverageService {
194194
}
195195

196196
private listenToEditorEvents() {
197-
this.editorWatcher = window.onDidChangeActiveTextEditor(
197+
this.editorWatcher = window.onDidChangeVisibleTextEditors(
198198
this.handleEditorEvents.bind(this),
199199
);
200200
}

0 commit comments

Comments
 (0)