Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
fix --watch not finding any files to execute; closes mochajs#3748
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Feb 21, 2019
1 parent 5d119b2 commit 3dee98f
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 3dee98f

Please sign in to comment.