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

Commit

Permalink
Clarify docs for watch that it watches files in the CWD (mochajs#3361)
Browse files Browse the repository at this point in the history
* Clarify docs for watch that it watches files in the CWD
* s/CWD/current working directory
  • Loading branch information
benglass authored and outsideris committed Oct 8, 2018
1 parent fd08d5a commit cd25555
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion bin/_mocha
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,10 @@ 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
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,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

0 comments on commit cd25555

Please sign in to comment.