From cb3ae0e0692036938cb1782d721a9ddfe87d9ade Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 13 Apr 2016 18:13:57 +0100 Subject: [PATCH] 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. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 15620b58..fa92ba9d 100644 --- a/package.json +++ b/package.json @@ -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": {