Give reskindex.js a watch mode (-w)

`scripts/reskindex.js -w` will run reskindex in watch mode whereby FS events will cause a reskindex to occur.

This depends on `chokidar`
This commit is contained in:
Luke Barnard
2017-05-08 14:57:04 +01:00
parent 1addc7e2c5
commit 2eaaa97451
2 changed files with 54 additions and 39 deletions

View File

@@ -46,6 +46,7 @@
"blueimp-canvas-to-blob": "^3.5.0",
"browser-encrypt-attachment": "^0.3.0",
"browser-request": "^0.3.3",
"chokidar": "^1.6.1",
"classnames": "^2.1.2",
"commonmark": "^0.27.0",
"draft-js": "^0.8.1",