Gatsby Hot Reload not working with MDX
See original GitHub issueDescription
Hot reload / browser refresh does not work with basic MDX setup.
Steps to reproduce
Clone repo gatsby-minimal-mdx-hot-reload-bug-reproduction.
gatsby develop
Edit src/pages/index.mdx
Expected result
Browsers will not refresh. Sometimes even manual browser reloads will not reflect the changes.
Environment
System:
OS: macOS 10.15.7
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.15.0 - ~/.nvm/versions/node/v14.15.0/bin/node
npm: 7.6.1 - ~/.nvm/versions/node/v14.15.0/bin/npm
Languages:
Python: 2.7.16 - /usr/bin/python
Browsers:
Chrome: 89.0.4389.82
Firefox: 86.0
Safari: 14.0.3
npmPackages:
gatsby: ^3.0.1 => 3.0.3
gatsby-plugin-mdx: ^2.0.0 => 2.0.0
gatsby-source-filesystem: ^3.0.0 => 3.0.0
npmGlobalPackages:
gatsby-cli: 3.0.0
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Gatsby Hot Reload not working with MDX - Rysolv
Hot reload / browser refresh does not work with basic MDX setup. Steps to reproduce. Clone repo gatsby-minimal-mdx-hot-reload-bug-reproduction.
Read more >Gatsby — Hot reload not working with .MDX generated pages
Gatsby hot reloading is not working when modifying CSS properties from Components that lives in generated .MDX pages.
Read more >Troubleshooting Common Errors - Gatsby
This guide is meant as a reference for common errors that have tripped up other Gatsby users. Problems with the cache. Running a...
Read more >Hot reloading not working : r/gatsbyjs - Reddit
It may have something to do with where the sass is being imported. Are they directly in the component, or outside the layout,...
Read more >Goodbye Gatsby, Hello Next - An Idiosyncratic Blog
I could decide what format my content would live in, and what framework I would be ... But, like in any relationship, problems...
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 FreeTop 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
Top GitHub Comments
Is this on the roadmap to being fixed? I’m concerned that Gatsby has reached 3.2 without this being addressed. This is a must-have feature for anyone authoring content in MDX.
This was fixed with gatsby 3.5.0 and gatsby-plugin-mdx 2.5.0