ChristopherBiscardi / gatsby-mdx

Gatsby+MDX • Transformers, CMS UI Extensions, and Ecosystem Components for ambitious projects

Home Page:https://gatsby-mdx.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding new imports requires full restart

AAverin opened this issue · comments

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