From 0574ab7fe285348df078b76df6dc932f176dc5c2 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 1 Apr 2024 21:40:16 +0200 Subject: Rebuild site on dev mode reload --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index caa387a..56b517a 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "module": "src/index.ts", "scripts": { "start": "bun run .", - "dev": "bun run --watch src/app.ts", + "dev": "bun run --preload ./bin/build.ts --watch src/app.ts", "build": "bun run bin/build.ts" }, "devDependencies": { -- cgit 1.4.1