File tree 1 file changed +3
-3
lines changed
src/Components/WebAssembly/WebAssembly/src/HotReload 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ internal static async Task InitializeAsync()
35
35
// The agent is injected in to the hosted app and can serve this script that can provide results from local-storage.
36
36
// See https://github.com/dotnet/aspnetcore/issues/37357#issuecomment-941237000
37
37
await JSHost . ImportAsync ( BlazorHotReloadModuleName , "/_framework/blazor-hotreload.js" ) ;
38
- ReceiveHotReload ( ) ;
38
+ await ReceiveHotReloadAsync ( ) ;
39
39
}
40
40
}
41
41
@@ -74,6 +74,6 @@ public static string GetApplyUpdateCapabilities()
74
74
return ( string ) method . Invoke ( obj : null , parameters : null ) ! ;
75
75
}
76
76
77
- [ JSImport ( "receiveHotReload " , BlazorHotReloadModuleName ) ]
78
- private static partial void ReceiveHotReload ( ) ;
77
+ [ JSImport ( "receiveHotReloadAsync " , BlazorHotReloadModuleName ) ]
78
+ private static partial Task ReceiveHotReloadAsync ( ) ;
79
79
}
You can’t perform that action at this time.
0 commit comments