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.
This commit is contained in:
Jesper Kristensen 2025-05-13 10:36:48 +02:00
parent 4ce1e88750
commit 24c1b8911c
No known key found for this signature in database
GPG Key ID: D21D8D9A823A2F42

View File

@ -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",