diff options
-rw-r--r-- | src/http.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http.zig b/src/http.zig index 43caed45f..071364454 100644 --- a/src/http.zig +++ b/src/http.zig @@ -3125,6 +3125,7 @@ pub const Server = struct { // We use a secondary loop so that we avoid the extra branch in a hot code path Analytics.Features.fast_refresh = server.bundler.options.jsx.supports_fast_refresh; server.detectTSConfig(); + server.detectFastRefresh(); try server.initWatcher(); did_init = true; Analytics.enqueue(Analytics.EventName.http_start); @@ -3490,8 +3491,6 @@ pub const Server = struct { return; } - server.detectFastRefresh(); - server.bundler.options.macro_remap = debug.macros orelse .{}; if (debug.fallback_only or server.bundler.env.map.get("BUN_DISABLE_BUN_JS") != null) { |