Fast Refresh in Next.js doesn't work
See original GitHub issueWhat happened?
Fast Refresh does not work when using the Next.js plugin. You can reproduce it on your own docs.
To reproduce
- Checkout https://github.com/markdoc/docs
- Start
npm run dev - Go to http://localhost:3002/docs/getting-started
- Edit text in
pages/docs/getting-started.md - No effect unless you reload the page.
Version
0.1.3
Additional context
@markdoc/next.js": “^0.1.4”
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Fast refresh not working properly due to page reload ... - GitHub
Hi, I have the same issue. To reproduce it: import a function in react component then the same function import in your _middleware.js....
Read more >Basic Features: Fast Refresh - Next.js
Next.js' Fast Refresh is a new hot reloading experience that gives you instantaneous feedback on edits made to your React components.
Read more >NextJS Fast refresh not working as expected - Stack Overflow
The fast refresh feature is working perfectly with other components but has problem with this specific component only. I have looked through ...
Read more >Fast Reliable/Hot Reloading in Next.js - Coding Ninjas
Why is hot reloading not working in React? ... It may happen because of an issue with your file system, file extensions, or...
Read more >How To Enable Hot Reloading for .env Files in Next.js
However, the Fast Refresh feature may not work on all files. This is especially true when it comes to .env files. In detail,...
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

Oh awesome! Cool if I close this issue @StarpTech? 🙂
The demo works for me too 😕 but doesn’t in my app. After upgrading to 0.1.5 it also works in my app. Thank you 🥳