Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Added `make watch`

Tj Holowaychuk84203c80eefd
diff --git a/Makefile b/Makefile
index 5b0eb18f..90f7da24 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,10 @@ test-grep:
--grep fast \
test/misc/grep
+watch:
+ watch --interval=1 $(MAKE) mocha.js
+
tm:
cp -fr editors/$(TM_BUNDLE) $(TM_DEST)/$(TM_BUNDLE)
-.PHONY: test test-all test-bdd test-tdd test-exports test-unit test-grep tm clean
\ No newline at end of file
+.PHONY: watch test test-all test-bdd test-tdd test-exports test-unit test-grep tm clean
\ No newline at end of file