You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e44bdae
Browse filesBrowse the repository at this point in the historyBrowse files
fix(overlay): keep a runtime error raised during the initial load (#5745)
* fix(overlay): keep a runtime error raised during the initial load
An error thrown while the entry is still evaluating raises the overlay
before the client's socket handshake completes. The compilation itself
succeeded, so the handshake's `ok` arrived milliseconds later and sent
`DISMISS`, closing an overlay it knew nothing about.
`ok` and `still-ok` now send `BUILD_OK`, which only the build-error state
handles. `invalid` keeps sending `DISMISS`: a rebuild replaces the code a
runtime error came from, so that overlay is stale too.
Closes#5024
* test(overlay): cover invalid/ok overlay dismissal in the client
0 commit comments