about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--package.json1
-rw-r--r--src/app.ts2
2 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json
index 3da8024..caa387a 100644
--- a/package.json
+++ b/package.json
@@ -3,6 +3,7 @@
   "module": "src/index.ts",
   "scripts": {
     "start": "bun run .",
+    "dev": "bun run --watch src/app.ts",
     "build": "bun run bin/build.ts"
   },
   "devDependencies": {
diff --git a/src/app.ts b/src/app.ts
index f41d6f2..cdabb3a 100644
--- a/src/app.ts
+++ b/src/app.ts
@@ -265,3 +265,5 @@ export const server = {
     }
   },
 } satisfies Serve;
+
+export default server;