[Bug]: Live reload does not work with Netlify starter
See original GitHub issueWhich Remix packages are impacted?
-
remix(Remix core) -
create-remix -
@remix-run/architect -
@remix-run/cloudflare-workers -
@remix-run/dev -
@remix-run/express -
@remix-run/netlify -
@remix-run/node -
@remix-run/react -
@remix-run/serve -
@remix-run/server-runtime -
@remix-run/vercel
What version of Remix are you using?
1.0.4
Steps to Reproduce
Create the app with npx create-remix@latest and select Netlify.
Expected Behavior
Content should be changed
Actual Behavior
The content has not changed
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Remix Netlify starter is not live reloading. #3394 - GitHub
Natively it's not working but there is a workaround. Go to your remix.config.js file and export devServerPort: 8002 from the module. And then ......
Read more >Netlify dev --live is not hot reloading when I change code
When I run “netlify dev --live” I get the message “No dev server detected, using simple static server” … and no live-reloading on...
Read more >How can I enable hot-reloading/auto-rebuilding nextjs app ...
1. Try running `netlify dev` in a project (possibly in a Vite or CRA project) 1. See that the dev server never starts....
Read more >[Support Guide] Frequently encountered problems during builds
In case your build fails on Netlify, first make sure it builds locally in your own development environment. This is a prerequisite to...
Read more >How to hot reload a simple one page (static) website with no ...
I've been using Netlify CLI/ Dev for some time in a project without any framework (html,js,css) and using the default static server from ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

while creating the WebSocket Server, remix reads devServerPort from remix.config.js in the root directory. By default it’s 8888 while the websocket is trying to connect to 8002. By changing devServerPort on remix.config.js to 8002, LiveReload works.
My first open source contribution! yay!
P.S: I looked at CONTRIBUTING.md but looks like the Contributor License Agreement is not ready yet.
Regards, Kali.
Came here to post the same bug, can confirm that @kalijonn’s solution works for me.