Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Blazor Hot Reload
<script src="_framework/blazor.server.js"></script>
<!-- Make sure you place it after the include for blazor.server.js -->
<environment include="Development">
<script src="~/Scripts/HotReload.js"></script>
</environment>
window.Blazor.defaultReconnectionHandler.onConnectionDown = function ()
{
window.location.reload();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.