From b7cfceba05fd16ccfe71ce9f68251730a13f833f Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Wed, 20 Feb 2019 15:09:47 -0800 Subject: [PATCH] fix --watch not finding any files to execute; closes #3748 --- lib/cli/run-helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/run-helpers.js b/lib/cli/run-helpers.js index 89832083ed..732161b146 100644 --- a/lib/cli/run-helpers.js +++ b/lib/cli/run-helpers.js @@ -295,7 +295,7 @@ exports.runMocha = ( files = [] ) => { if (watch) { - exports.watchRun(mocha, {extension, grep, ui}); + exports.watchRun(mocha, {extension, grep, ui, files}); } else { exports.singleRun(mocha, {files, exit}); }