cuibonobo / terra-incognita

A sort of luminous, geometric, incandescent immensity.
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

WebSocket initialization happens twice #33

Closed cuibonobo closed 2 years ago

cuibonobo commented 2 years ago

There are 2 'Initializing WebSocket...' messages and 2 connections to the WebSocket durable object. The first one is replaced before a connection can be established and eventually times out on the server.

cuibonobo commented 2 years ago

This behavior seems to be exclusive to the Parcel server as it sets up its Hot Module Replacement functionality. I haven't seen this happen on the production server.

Closing since this is only reproducible in a development environment.