Skip to content

Weird behaviour after customizing theme in tailwind.config #234

Closed Answered by ben-rogerson
tonymanuel asked this question in Q&A
Discussion options

You must be logged in to vote

What you're seeing here is the Babel cache in action. It seems to affect Gatsby and Next.js the most and it's a little annoying to say the least. It will only be experienced during development and never production builds.

The fix:
After modifying your tailwind config and restarting your server you need to make a change in the code to force a Babel to update it's cache.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ben-rogerson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants