build: make watch mode less noisy

This commit is contained in:
Colin Caine 2017-10-23 02:11:16 +01:00
parent f90d9e708f
commit cb4a116b2a

View file

@ -24,7 +24,7 @@
},
"scripts": {
"build": "webpack",
"watch": "chokidar src --initial -i 'src/excmds_{background,content}.ts' -c webpack",
"watch": "chokidar src --initial --silent -i 'src/excmds_{background,content}.ts' -c 'webpack --display errors-only'",
"clean": "rm -rf build",
"test": "npm run build && jest --silent",
"update-buildsystem": "rm -rf src/node_modules; npm run clean"