question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hot reload does not work with Netlify dev from Netlify template

See original GitHub issue

When using npm init remix to set up a Remix project with the Netlify template, it seems like the hot reload is broken.

Steps to reproduce:

  • Use npm init remix to initiate a new project using Netlify and Typescript
  • Update @remix-run/netlify to 0.18.1 (as for now)
  • Run npm run dev and npm run dev:netlify
  • Open localhost:3000 in browser
  • Make a change in a file

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
ryanflorencecommented, Sep 10, 2021

AFTER your vacation is done.

1reaction
jomscommented, Sep 22, 2021

… played around with this while waiting for the fam… this seems to have resolved the live reloading for me, so if you want to try it out before I get back to do some more testing https://github.com/mcansh/remix-on-netlify/blob/main/netlify/functions/server/server.js

Sorry, but I haven’t gotten around to test this until now. However I can confirm that this works.

Good news that you are able to reproduce the problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

Netlify dev --live is not hot reloading when I change code
Hi! I'm just trying netlify dev and I think it is great! I'm running a gatsby website. It is a pretty much default...
Read more >
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 >
How to hot reload on netlify? - node.js - Stack Overflow
1 Answer 1 · I do this so I don't have to install node and node packages on my local machine. · The...
Read more >
Configuration Options | Netlify CMS | Open-Source Content ...
All configuration options for Netlify CMS are specified in a config.yml file, in the folder where you access the editor UI (usually in...
Read more >
Command Line Usage — Eleventy
Important Note: Browsersync requires a <body> tag in your template for live-reload to work properly. # Automatically run when input template files change....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found