Refresh cache after editing tailwind.config #291
Unanswered
jeremyzilar
asked this question in
Q&A
Replies: 3 comments 1 reply
-
The only fix I've found is to modify your start script: // package.json
"scripts": {
"dev": "rimraf .next && next",
}, |
Beta Was this translation helpful? Give feedback.
0 replies
-
The same question :( |
Beta Was this translation helpful? Give feedback.
1 reply
-
This seems to mainly be an issue when setting up the foundation of a project, as I no longer experience the frustration because I am not editing that file as much. That said, I also took @ben-rogerson's advice and added it to my
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Do you know if it possible to have the site rebuild and clear the cache after editing the
tailwind.config.js
file?To get the changes to the
tailwind.config
to take effect, I am finding that I need to.next
folderI am learning how to set up Next with Styled Components + Twin Macro + Typescript, and trying to figure out what part of the application is responsible for generating this.
Beta Was this translation helpful? Give feedback.
All reactions