Skip to content

Commit b7cfceb

Browse files
committed
fix --watch not finding any files to execute; closes #3748
1 parent b836d73 commit b7cfceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cli/run-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ exports.runMocha = (
295295
files = []
296296
) => {
297297
if (watch) {
298-
exports.watchRun(mocha, {extension, grep, ui});
298+
exports.watchRun(mocha, {extension, grep, ui, files});
299299
} else {
300300
exports.singleRun(mocha, {files, exit});
301301
}

0 commit comments

Comments
 (0)