Open
Description
So, I am using vanilla serve
and not servedocs
, and I build the docs in a separate process. During that build, Documenter temporarily wipes the .html
files, but it takes a short while for the new .html
files to get rendered.
As far as I can tell, when the old HTML files get deleted, LiveServer tries to auto-refresh the page, and will then show me a 404. That 404, however, does not seem to auto-refresh when the new HTML files are generated. I basically "get stuck" on the 404 page, even after the HTML file has been re-generated, and have to F5 the page when I switch to that tab.
Unless I have missed something, I can think of two ways this could be handled:
- Don't auto-refresh the page when the HTML page has been removed. Rather, keep showing the old page. Only refresh when a new HTML page gets created.
- Auto-refresh the 404 page as well. It seems like that's not happening.
Or, potentially, even both 🙂