I have a single route that loads up just fine, but whenever I refresh the page or make a change (only to backend files, hot refresh of svelte files works fine) the page gets stuck loading indefinitely. If you look at the network tab of the dev tools it just says (pending)
and any additional server calls to API endpoints also get stuck on pending.
This only happens on one specific route, but it is very hard to debug because even with console logs on all of the layout and page server files, I can’t find any clue as to why it is stuck in pending.
Another interesting bit of information on this is if I quit the dev server and start it up, the existing pending sessions remain stuck, so even after refreshing the page it still stays frozen. I have to quit the dev server, navigate the browser to a different page (which fails because the server is down), then start the dev server back up.
If I navigate to the page through normal navigation means or even entering in the url directly, everything works fine. It is just when I refresh the page or try to navigate after it already catches that I see this problem.
Anyone else run into this issue or have any hints on how to go about debugging this?