From 24c1b8911c07adaea2ea603d27575c45469ea498 Mon Sep 17 00:00:00 2001 From: Jesper Kristensen Date: Tue, 13 May 2025 10:36:48 +0200 Subject: [PATCH] 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. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index e7229fb5c..9ffa8298e 100644 --- a/package.json +++ b/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",