mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 20:39:05 +00:00
Update options.zig
This commit is contained in:
@@ -1181,7 +1181,7 @@ pub const BundleOptions = struct {
|
||||
if (isWindows and opts.routes.static_dir_handle != null) {
|
||||
opts.routes.static_dir_handle.?.close();
|
||||
}
|
||||
opts.hot_module_reloading = opts.platform.isWebLike();
|
||||
opts.hot_module_reloading = opts.platform.isWebLike() and !(transform.disable_hmr orelse false);
|
||||
opts.serve = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user