Is there any hot reload for blazor server-side?

前端 未结 6 2098
萌比男神i
萌比男神i 2020-12-25 12:08

I have just one, quick question. Is there way to hot reload a blazor app? At least, .razor files? Now I\'m hosting my app on local IIS (not IIS express).

I was looki

6条回答
  •  情歌与酒
    2020-12-25 12:25

    Add

    
        
        
        
    
    

    to your .csproj and then run:

    dotnet watch run debug
    

    This is not a hot reload as you might expect but it automates the re-run process. You'll just have to wait some seconds and reload the page.

提交回复
热议问题