Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix --watch not finding any files to execute; closes #3748
  • 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
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.