diff --git a/bin/run.js b/bin/run.js index e83a6b591..48a305556 100755 --- a/bin/run.js +++ b/bin/run.js @@ -399,6 +399,7 @@ function respawnWithCoverage (options) { // Re-spawn with coverage var args = [nycBin].concat( '--silent', + '--cache=true', options.nycArgs, '--', process.execArgv, diff --git a/package.json b/package.json index 0a3724acb..397f862b6 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "glob": "^7.0.0", "isexe": "^1.0.0", "js-yaml": "^3.3.1", - "nyc": "^7.1.0", + "nyc": "^9.0.1", "only-shallow": "^1.0.2", "opener": "^1.4.1", "os-homedir": "1.0.1",