We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vitest-dev
sheremet-va
antfu
patak-dev
Learn more about funding links in repositories.
Report abuse
1 parent 1c65ac4 commit 61cf9a7Copy full SHA for 61cf9a7
packages/vitest/src/node/core.ts
@@ -374,7 +374,7 @@ export class Vitest {
374
await this.reportCoverage(!trigger)
375
376
if (!this.config.browser)
377
- await this.report('onWatcherStart')
+ await this.report('onWatcherStart', this.state.getFiles(files))
378
}
379
380
async changeNamePattern(pattern: string, files: string[] = this.state.getFilepaths(), trigger?: string) {
@@ -467,7 +467,7 @@ export class Vitest {
467
await this.reportCoverage(false)
468
469
470
471
}, WATCHER_DEBOUNCE)
472
473
0 commit comments