Browse Source

Added build:watch script/command to package.json

Should make it eaiser to automatically build the front-end when
doing local development in docker node containers.
Jesper Kristensen 4 tháng trước cách đây
mục cha
commit
24c1b8911c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -6,6 +6,7 @@
 		"dev": "npm run pyodide:fetch && vite dev --host",
 		"dev:5050": "npm run pyodide:fetch && vite dev --port 5050",
 		"build": "npm run pyodide:fetch && vite build",
+		"build:watch": "npm run pyodide:fetch && vite build --watch",
 		"preview": "vite preview",
 		"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
 		"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",