-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
What version of Remix are you using?
1.7.6
Steps to Reproduce
Using create-remix without a template and the following selection:
- Just the basics
- Cloudflare Workers
- Typescript
- No npm install
After starting the dev server with npm run dev, both Firefox and Safari cannot connect to the dev asset server web socket.
Expected Behavior
Browser should be able to connect to web socket.
Actual Behavior
Browser attempts to reconnect to web socket unsuccessfully.
The remix.config.js setting devServerPort is ignored in my barebones project (no changes made).
Observation
After saving any file in the app folder (which triggers either 2 or 3 [mf:inf] Worker reloaded! (0.50MiB) messages for me) AND subsequently reloading the page in the browser, the browser can connect to the web socket.
However, after worker reloaded 2 or 3 times, it falls back to port 8002 by itself. As I said above, this does not depend on the devServerPort setting; it falls back to 8002 either way.

