mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
mitigate HMR bug
This commit is contained in:
@@ -1881,9 +1881,9 @@ pub const RequestContext = struct {
|
||||
var reloader = Api.Reloader.disable;
|
||||
if (ctx.bundler.options.hot_module_reloading) {
|
||||
reloader = Api.Reloader.live;
|
||||
if (ctx.bundler.options.jsx.supports_fast_refresh) {
|
||||
reloader = Api.Reloader.fast_refresh;
|
||||
}
|
||||
// if (ctx.bundler.options.jsx.supports_fast_refresh) {
|
||||
// reloader = Api.Reloader.fast_refresh;
|
||||
// }
|
||||
}
|
||||
|
||||
const welcome_message = Api.WebsocketMessageWelcome{
|
||||
|
||||
Reference in New Issue
Block a user