[Scripts] Add script to run karma continuously

Add a script (to be executed with `npm run-script watch`) that
runs karma and watches for changes; rerunning tests whenever a
file is changed.  Useful for local development.
This commit is contained in:
Pete Richards 2015-08-04 11:56:53 -07:00
parent 3783ed69d7
commit 5ab26df4c9

View File

@ -22,7 +22,8 @@
"start": "node app.js",
"test": "karma start --single-run",
"jshint": "jshint platform example || exit 0",
"jsdoc": "jsdoc -c jsdoc.json -r -d docs"
"jsdoc": "jsdoc -c jsdoc.json -r -d docs",
"watch": "karma start"
},
"repository": {
"type": "git",