Skip to content

Commit

Permalink
feat: add watcher in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
misitebao committed Feb 23, 2022
1 parent 9943131 commit 5206277
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/TS/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dev": "vite",
"build:finally": "vue-tsc --noEmit && vite build --emptyOutDir",
"build": "vite build --emptyOutDir",
"build:watch": "vue-tsc --noEmit && vite build --watch --emptyOutDir",
"build:watch": "vite build --watch --emptyOutDir",
"preview": "vite preview"
},
"dependencies": {
Expand All @@ -18,4 +18,4 @@
"vite": "^2.7.0",
"vue-tsc": "^0.28.10"
}
}
}
1 change: 1 addition & 0 deletions wails.tmpl.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"assetdir": "frontend/dist",
"frontend:install": "npm install",
"frontend:build": "npm run build -w js",
"frontend:dev:watcher": "npm run build:watch -w js",
"author": {
"name": "{{.AuthorName}}",
"email": "{{.AuthorEmail}}"
Expand Down

0 comments on commit 5206277

Please sign in to comment.