RickStrahl / Westwind.AspnetCore.LiveReload

ASP.NET Core Live Reload Middleware that monitors file changes in your project and automatically reloads the browser's active page
Other
469 stars 42 forks source link

Ignoring ServerRefreshTimeout #25

Closed mucalytic closed 4 years ago

mucalytic commented 4 years ago

I've set the ServerRefreshTimeout to 10000 (I assume, 10 seconds) in Startup.cs and appsettings.json and the page still refreshes after 3 seconds. Often, my build takes more than that, so it fails to load the page and I have to refresh it manually, thus defeating the point.

RickStrahl commented 4 years ago

I think the refresh timeout is no longer used. The recommended way to do this is during startup to generate an HTML file into monitored tree somewhere. I have to check and see how that works exactly again.