Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor wasm app not updating on refresh in development when non-c# changes are made in razor files

$
0
0

I have to stop the debugger and restart to see even the simplest changes (such as simply changing a text value in a <p> tag) to razor files.

I currently have it setup so that server pre-renders the page and it does reflect updates but when the wasm app is loaded after a couple seconds then it reverts back.

Hard refresh of the page doesn't help even when clearing the cache. I can only see the changes in the wasm app after stopping and restarting the debugger.

It's very frustrating and time consuming to have to restart the application to see every little html/css change I make.

Trying to find out if this is a known issue, or if there is some setting or something I have to switch on or off?

EDIT:So if I make a change to the razor.css file then it does immediately reflect the update on save. Very strange that this works, but that a simple text change on the razor page doesn't get updated without a restart.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>