Skip to content

Commit e50c0f0

Browse files
authored
Merge pull request #47 from citizennet/citizengabe/add-make-test-watch
Add a `make test-watch` task
2 parents eeb8d1f + c7ee76a commit e50c0f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,7 @@ test: dist/main.js $(BUILD)/test.out
146146
.PHONY: watch
147147
watch: $(BOWER_COMPONENTS) $(NODE_MODULES)
148148
npx watch-exec --command 'make dist/main.js' --watch $(EXAMPLE) --watch $(SRC)
149+
150+
.PHONY: test-watch
151+
test-watch: $(BOWER_COMPONENTS) $(NODE_MODULES)
152+
npx watch-exec --command 'make test' --watch $(TEST) --watch $(SRC)

0 commit comments

Comments
 (0)