aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar pfg <pfg@pfg.pw> 2023-03-07 16:11:54 -0500
committerGravatar GitHub <noreply@github.com> 2023-03-07 13:11:54 -0800
commit45ddf321b187ab1597e9e086655f71f1b36af4cb (patch)
treef4c645f272462e23cced26e2f0c468e14f00d35b
parente84ff1d8b7b05beeb6f8b810d1c8a83401e4b1a2 (diff)
downloadbun-45ddf321b187ab1597e9e086655f71f1b36af4cb.tar.gz
bun-45ddf321b187ab1597e9e086655f71f1b36af4cb.tar.zst
bun-45ddf321b187ab1597e9e086655f71f1b36af4cb.zip
fix the wrong thing being incremented in hmr example (#2334)
-rw-r--r--docs/runtime/hot.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/runtime/hot.md b/docs/runtime/hot.md
index 36288de33..547728f4d 100644
--- a/docs/runtime/hot.md
+++ b/docs/runtime/hot.md
@@ -56,7 +56,7 @@ For more fine-grained control, you can use the `Bun.serve` API directly and hand
import type {Serve} from "bun";
globalThis.count = globalThis.count ?? 0;
-globalThis.reloadCount++;
+globalThis.count++;
// define server parameters
const serverOptions: Serve = {