Browse Source

[dev] Add npm run watch command for development

Fabien Quatravaux 4 years ago
parent
commit
5b1dca21c2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -4,6 +4,7 @@
   "description": "An HTML5 Mumble client.",
   "scripts": {
     "build": "webpack && [ -f dist/config.local.js ] || cp app/config.local.js dist/",
+    "watch": "webpack --watch",
     "prepare": "rm -rf dist && npm run build",
     "test": "echo \"Error: no test specified\" && exit 1",
     "postinstall": "patch-package"