☕️ Classic, reliable, trusted test framework for Node.js and the browser
Revert "Also reload changed file"
Tj Holowaychuk970068d6109f
diff --git a/bin/_mocha b/bin/_mochaindex 259f3aae..917788fd 100755--- a/bin/_mocha+++ b/bin/_mocha@@ -207,11 +207,10 @@ if (program.watch) {play(frames);- utils.watch(utils.files(cwd), function(file){- stop();+ utils.watch(utils.files(cwd), function(){+ stop()suite = suite.clone();ui = interfaces[program.ui](suite);- delete require.cache[file];load(files, function(){run(suite, function(){play(frames);