Refreshing the wwwroot in Action method #23898
Unanswered
jesusarockias
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I can successfully compile the SCSS file in the Change method but client side wwwroot directory is not updated until I press the browser refresh button.
Is there any way to trigger the refresh event in this Change action method?
I have tried all redirection method but it is not working. Any help will be helpful. Please help me to overcome this.
`View (index.cshtml)
<button onclick="clickHandler">Change Theme</button>
Script (site.js)
Controller Action (HomeController.cs)
Beta Was this translation helpful? Give feedback.
All reactions