Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify docs for watch that it watches files in the CWD #3361

Merged
merged 4 commits into from Oct 8, 2018
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/_mocha
Expand Up @@ -165,7 +165,7 @@ program
`specify user-interface (${interfaceNames.join('|')})`,
'bdd'
)
.option('-w, --watch', 'watch files for changes')
.option('-w, --watch', 'watch files in the current working directory for changes')
.option('--check-leaks', 'check for global variable leaks')
.option('--full-trace', 'display the full stack trace')
.option(
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Expand Up @@ -760,7 +760,7 @@ Mocha supports the `err.expected` and `err.actual` properties of any thrown `Ass
-s, --slow <ms> "slow" test threshold in milliseconds [75]
-t, --timeout <ms> set test-case timeout in milliseconds [2000]
-u, --ui <name> specify user-interface (bdd|tdd|qunit|exports) (default: bdd)
-w, --watch watch files for changes
-w, --watch watch files in the current working directory for changes
--check-leaks check for global variable leaks
--full-trace display the full stack trace
--compilers <ext>:<module>,... use the given module(s) to compile files (default: )
Expand Down