Skip to content

In React for the CSS properties to work, I have to save tailwind.config.js everytime #5570

Answered by simonswiss
zadigg asked this question in Help
Discussion options

You must be logged in to vote

Try adding TAILWIND_MODE=watch to your start script:

- "start": "craco start",
+ "start": "TAILWIND_MODE=watch craco start",

Hopefully that helps!

You can read more about this here:

https://tailwindcss.com/docs/just-in-time-mode#troubleshooting

Hope it helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zadigg
Comment options

Answer selected by zadigg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants