Skip to content

Commit

Permalink
Extract watch-ignore defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scholtes committed Aug 30, 2019
1 parent 7cccd07 commit f938922
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cli/run.js
Expand Up @@ -253,7 +253,7 @@ exports.builder = yargs =>
group: GROUPS.FILES,
requiresArg: true,
coerce: list,
default: ['node_modules', '.git']
default: defaults['watch-ignore']
}
})
.positional('spec', {
Expand Down
3 changes: 2 additions & 1 deletion lib/mocharc.json
Expand Up @@ -6,5 +6,6 @@
"reporter": "spec",
"slow": 75,
"timeout": 2000,
"ui": "bdd"
"ui": "bdd",
"watch-ignore": ["node_modules", ".git"]
}

0 comments on commit f938922

Please sign in to comment.