Update dotnet-watch.md (#23958)
parent
22a03d1bbc
commit
11b4437685
|
@ -213,7 +213,7 @@ Some configuration options can be passed to `dotnet watch` through environment v
|
|||
|
||||
## Browser refresh
|
||||
|
||||
`dotnet watch` injects a script into the app that allows it to refresh the browser when the content changes. In some scenarios, such as when the app enables response compression, `dotnet watch` might ***not*** be unable to inject the script. For such cases in development, manually inject the script into the app. For example, to configure the web app to manually inject the script, update the layout file to include `_framework/aspnet-browser-refresh.js`:
|
||||
`dotnet watch` injects a script into the app that allows it to refresh the browser when the content changes. In some scenarios, such as when the app enables response compression, `dotnet watch` might ***not*** be able to inject the script. For such cases in development, manually inject the script into the app. For example, to configure the web app to manually inject the script, update the layout file to include `_framework/aspnet-browser-refresh.js`:
|
||||
|
||||
```razor
|
||||
@* _Layout.cshtml *@
|
||||
|
|
Loading…
Reference in New Issue