☕️ Classic, reliable, trusted test framework for Node.js and the browser
#888 Fix for --watch+only() issue
startswithajd7d3dd8128d3
diff --git a/bin/_mocha b/bin/_mochaindex bea6df85..f0ad9d7e 100755--- a/bin/_mocha+++ b/bin/_mocha@@ -335,6 +335,8 @@ if (program.watch) {function rerun() {purge();stop()+ if (!program.grep)+ mocha.grep(null);mocha.suite = mocha.suite.clone();mocha.suite.ctx = new Mocha.Context;mocha.ui(program.ui);