Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

misc

TJ Holowaychuk30671352e631
diff --git a/index.md b/index.md
index c518d378..5a6d5c1b 100644
--- a/index.md
+++ b/index.md
@@ -136,6 +136,10 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal
--interfaces display available interfaces
--reporters display available reporters
+### -w, --watch
+
+ Executes tests on changes to the test files.
+
### --globals <names>
Accepts a comma-delimited list of accepted global variable names. For example suppose your app deliberately exposes a global named `app` and `YUI`, you may want to add `--globals app,YUI`.