DEV Community

Discussion on: Using Tailwind CSS v3 with Ember JS

Collapse
 
caruso profile image
Giuseppe Caruso

For some reason, it doesn't autogenerate classes.

I.E. If I add a new class that I didn't already used, I have to restart the server to get it generated instead of getting it generated by TW through JIT.

Any idea how to fix that?

Collapse
 
asasmith profile image
Asa Smith

I haven't seen that issue. Can you give an example of a class you're adding that isn't being generated?

Collapse
 
asasmith profile image
Asa Smith • Edited

dev-to-uploads.s3.amazonaws.com/up...

The PostcssCompiler build step should be happening on each build. If you're not seeing that then there might be an issue with how the postcssOptions.compile.cacheInclude key is configured.