From c0562bb41988b14ba6dfb17877be66798bb8f4c2 Mon Sep 17 00:00:00 2001 From: pfg Date: Tue, 7 Mar 2023 12:27:36 -0500 Subject: [PATCH] fix the wrong thing being incremented in hmr example --- docs/runtime/hot.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/runtime/hot.md b/docs/runtime/hot.md index 36288de3354e..547728f4d3b4 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 = {