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