Warn users that watch is broken

This commit is contained in:
Oliver Blanthorn 2018-05-13 14:26:59 +01:00
parent d181e0b4a5
commit d13fa243e7
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -34,7 +34,7 @@
},
"scripts": {
"build": "scripts/build.sh",
"watch": "chokidar src scripts --initial --silent -i 'src/excmds_{background,content}.ts' -i 'src/static/docs' -c 'npm run build'",
"watch": "echo 'watch is broken, use build instead'; exit 0; chokidar src scripts --initial --silent -i 'src/excmds_{background,content}.ts' -i 'src/static/docs' -c 'npm run build'",
"clean": "rm -rf build generated",
"test": "npm run build && jest --silent",
"update-buildsystem": "rm -rf src/node_modules; npm run clean"