Add test-watch target

This commit is contained in:
Remko Tronçon 2019-03-12 21:05:34 +01:00
parent 17c85e92a0
commit 305c26fe1c
2 changed files with 4 additions and 0 deletions

View file

@ -40,5 +40,8 @@ clean:
check: $(WASM_FILES)
yarn -s test
check-watch: $(WASM_FILES)
yarn -s test-watch
lint:
yarn -s lint

View file

@ -29,6 +29,7 @@
"scripts": {
"build": "webpack --mode=production",
"test": "mocha tests/index-node.js",
"test-watch": "mocha --watch tests/index-node.js",
"lint": "eslint .",
"dev-server":
"webpack-dev-server --open --openPage waforth --content-base public"