Skip to content

Commit

Permalink
watch: add --no-clean to nyc args on change tests
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
isaacs committed Sep 23, 2019
1 parent 6a4d64b commit 5b83028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/watch.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class Watch extends Minipass {
this.queue.length = 0

this.proc = spawn(process.execPath, [
...this.args, '--save=' + this.saveFile
...this.args, '--save=' + this.saveFile, '--nyc-arg=--no-clean'
], {
stdio: 'inherit',
env: this.env,
Expand Down

0 comments on commit 5b83028

Please sign in to comment.