aboutsummaryrefslogtreecommitdiff
path: root/docs/runtime/hot.md
diff options
context:
space:
mode:
authorGravatar cunzaizhuyi <877824709@qq.com> 2023-02-26 16:23:58 +0800
committerGravatar GitHub <noreply@github.com> 2023-02-26 00:23:58 -0800
commitf89c4c3a0d7da03ee775f1092f10c11fc005faf4 (patch)
tree34fc9d21ab57e5f1f29186d13d4c725ad43ebe66 /docs/runtime/hot.md
parent451ccfd5ef4b6f1539a8a317ee96591228e4cd0a (diff)
downloadbun-f89c4c3a0d7da03ee775f1092f10c11fc005faf4.tar.gz
bun-f89c4c3a0d7da03ee775f1092f10c11fc005faf4.tar.zst
bun-f89c4c3a0d7da03ee775f1092f10c11fc005faf4.zip
Update hot.md (#2198)
Diffstat (limited to 'docs/runtime/hot.md')
-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 bdd376011..36288de33 100644
--- a/docs/runtime/hot.md
+++ b/docs/runtime/hot.md
@@ -34,7 +34,7 @@ Bun provides the following simplified API for implementing HTTP servers. Refer t
```ts#server.ts
globalThis.count = globalThis.count ?? 0;
-globalThis.reloadCount++;
+globalThis.count++;
export default {
fetch(req: Request) {