Explorar o código

feat(web): support dev watch

hujinliang %!s(int64=5) %!d(string=hai) anos
pai
achega
4f48586ab7
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      web/package.json

+ 2 - 1
web/package.json

@@ -5,7 +5,8 @@
   "main": "dist/vap.js",
   "scripts": {
     "build": "npm run dist && rollup --config rollup.config.dist.js",
-    "dist": "rollup --config rollup.config.js"
+    "dist": "rollup --config rollup.config.js",
+    "dev": "rollup --config rollup.config.js --watch"
   },
   "keywords": [
     "webgl",