Disable autoWatch for npm test

... we're only going to run the tests once, so there is no need to tell webpack
to watch the sources. This saves a spurious repack.
This commit is contained in:
Richard van der Hoff 2016-04-13 18:13:57 +01:00
parent bf31d6d5fa
commit cb3ae0e069
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
"start:prod": "parallelshell \"npm run start:js:prod\" \"npm run start:skins:css\" \"http-server -c 1 vector\"",
"clean": "rimraf lib vector/bundle.css vector/bundle.js vector/bundle.js.map vector/webpack.css*",
"prepublish": "npm run build:css && npm run build:compile",
"test": "karma start --single-run=true --browsers PhantomJS --colors=false",
"test": "karma start --single-run=true --autoWatch=false --browsers PhantomJS --colors=false",
"test:multi": "karma start"
},
"dependencies": {