Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ internal async Task RunAsyncCore(CancellationToken cancellationToken, WebAssembl
manager.SetPlatformRenderMode(RenderMode.InteractiveWebAssembly);
await manager.RestoreStateAsync(store);

if (MetadataUpdater.IsSupported)
if (MetadataUpdater.IsSupported && Environment.GetEnvironmentVariable("__BLAZOR_WEBASSEMBLY_LEGACY_HOTRELOAD") != "false")
{
await WebAssemblyHotReload.InitializeAsync();
}
Expand Down
Loading