Welcome Guest, Not a member yet? Register   Sign In
hot-reload side effects seem to be clobbering my app
#1

Hi Team,
I am slowly losing the will ...
I think the debug toolbar and tracing is very helpful but at the moment my app is not behaving as expected ie serving a login view when someone logs out after redirect.
Looking at the FF java console I see messages like this:

The connection to https://localhost/__hot-reload was interrupted while the page was loading. login line 37 > injectedScript:702:29
EventSource failed:
error { target: EventSource, isTrusted: true, srcElement: EventSource, currentTarget: EventSource, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
login line 37 > injectedScript:710:21
    onerror https://localhost/login line 37 > injectedScript:710
    (Async: EventHandlerNonNull)
    hotReloadConnect https://localhost/login line 37 > injectedScript:709
    setHotReloadState https://localhost/login line 37 > injectedScript:697
    init https://localhost/login line 37 > injectedScript:27
    onreadystatechange https://localhost/?debugbar:49
    (Async: EventHandlerNonNull)
    loadDoc https://localhost/?debugbar:14
    (Async: EventListener.handleEvent)
    <anonymous> https://localhost/?debugbar:1
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. login
XHRGET
https://localhost/?debugbar_time=1747223756.436512
[HTTP/1.1 200 OK 78ms]

XHRGET
https://localhost/__hot-reload


At this moment I am trying to redirect to "https//localhost/login" which I have successfully proved works when I initially login, but once I logout and redirect back to the same place I never see the login screen again.
I am very frustrated and really cannot work out why.
Any help would be appreciated, Thx, Paul
Reply




Theme © iAndrew 2016 - Forum software by © MyBB