Skip to content

Commit 5b83028

Browse files
committedSep 23, 2019
watch: add --no-clean to nyc args on change tests
Not sure how this went so long without me noticing. Probably because I usually use a coverage-map, so one test = 100% of one file.
1 parent 6a4d64b commit 5b83028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/watch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class Watch extends Minipass {
112112
this.queue.length = 0
113113

114114
this.proc = spawn(process.execPath, [
115-
...this.args, '--save=' + this.saveFile
115+
...this.args, '--save=' + this.saveFile, '--nyc-arg=--no-clean'
116116
], {
117117
stdio: 'inherit',
118118
env: this.env,

0 commit comments

Comments
 (0)
Please sign in to comment.