build: watch scripts dir too

This commit is contained in:
Colin Caine 2017-11-09 05:37:33 +00:00
parent 58ed23913d
commit e82218e156

View file

@ -26,7 +26,7 @@
},
"scripts": {
"build": "webpack",
"watch": "chokidar src --initial --silent -i 'src/excmds_{background,content}.ts' -i 'src/static/docs' -c 'webpack --display errors-only'",
"watch": "chokidar src scripts --initial --silent -i 'src/excmds_{background,content}.ts' -i 'src/static/docs' -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"