Skip to content

Commit

Permalink
fix --watch not finding any files to execute; closes #3748
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Feb 21, 2019
1 parent b836d73 commit b7cfceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/run-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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});
}
Expand Down

0 comments on commit b7cfceb

Please sign in to comment.