Skip to content

Commit 6fc675c

Browse files
committed
Vite build watch for mobile testing
1 parent b00cc1b commit 6fc675c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Taskfile.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3'
1+
version: "3"
22

33
tasks:
44
setup:
@@ -51,6 +51,11 @@ tasks:
5151
cmds:
5252
- npm run build
5353

54+
assets-watch:
55+
desc: Build frontend assets and watch for changes
56+
cmds:
57+
- npm run build:watch
58+
5459
vite:
5560
desc: Run Vite development server
5661
cmds:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"type": "module",
44
"scripts": {
55
"dev": "vite",
6-
"build": "vite build"
6+
"build": "vite build",
7+
"build:watch": "vite build --watch"
78
},
89
"dependencies": {
910
"@tailwindcss/typography": "^0.5.16",

0 commit comments

Comments
 (0)