Skip to content

Commit cb3ae0e

Browse files
committed
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.
1 parent bf31d6d commit cb3ae0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"start:prod": "parallelshell \"npm run start:js:prod\" \"npm run start:skins:css\" \"http-server -c 1 vector\"",
2727
"clean": "rimraf lib vector/bundle.css vector/bundle.js vector/bundle.js.map vector/webpack.css*",
2828
"prepublish": "npm run build:css && npm run build:compile",
29-
"test": "karma start --single-run=true --browsers PhantomJS --colors=false",
29+
"test": "karma start --single-run=true --autoWatch=false --browsers PhantomJS --colors=false",
3030
"test:multi": "karma start"
3131
},
3232
"dependencies": {

0 commit comments

Comments
 (0)