ChristopherBiscardi / gatsby-mdx

Gatsby+MDX • Transformers, CMS UI Extensions, and Ecosystem Components for ambitious projects
https://gatsby-mdx.netlify.com/
715 stars 100 forks source link

Adding new imports requires full restart #416

Closed AAverin closed 5 years ago

AAverin commented 5 years ago

Adding any new component import to the mdx file requires cleaning the cache and full restart for gatsby develop. rm -rf .cache && gatsby develop

Without it, I keep getting ReferenceError: Component is not defined. If cache is not cleaned, error persists