about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-01 21:40:16 +0200
committerAlan Pearce2024-04-01 21:40:16 +0200
commit0574ab7fe285348df078b76df6dc932f176dc5c2 (patch)
tree9b9a137e63bcdbafc5db67a9e3a2c79801ffd735
parent121f0ef2ea93a4a979a97935db2bd1d91b6adffd (diff)
downloadwebsite-0574ab7fe285348df078b76df6dc932f176dc5c2.tar.lz
website-0574ab7fe285348df078b76df6dc932f176dc5c2.tar.zst
website-0574ab7fe285348df078b76df6dc932f176dc5c2.zip
Rebuild site on dev mode reload
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
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": {