Tailwind JIT - Site Size?

I’m noticing my \tailwind_theme\tailwind.css is suddenly shrinking in size when I save a page that has new classes. My site will be about 4,000 pages once finished. I’m at 1,500 now.

If I hit Project Settings icon > Tailwind CSS > Refresh used classes and save, the tailwind file jumps about 30KB. Then when I open a page that has a new class and save, it drops back down.

Anything I can do to fix it?

Please, send us both css files so that we can see what is causing the difference.
Note: In theory, refreshing classes should decrease the size, not increase it.

I sent an email to support with embeds and my process to replicate. I’m not seeing this issue on smaller sites. I haven’t actually inspected the css yet but did attach both versions… the refresh and also the new file open > save when it discovers new classes, which when I save, drops the size and tons of classes. Request 27013

Hi @Emmanuel I’ve been able to get this bug to return with 9.3 (which is weird because 9.2 is on the site now, sorry, this is incorrect, 9.3 is seen on the homepage, but Download Pinegrow | Pinegrow Web Editor needs updating). All is well working on the site, adding new classes ends up adding to the compiled css. However, it seems when I close the software and reopen it, then open a new page, save, it does shrink 50kb of needed classes out where I need to refresh used classes and rebuild. Just wanted you to be aware, just in case you weren’t already.

A little more detail, when I close Pinegrow and reopen, then open a page in a project, it “forgets” that I have the design panel activated and I have to hit the activate button again. Once I do that, and save, it then wipes the compiled css down from 103Kb to 38Kb. I then have to open many pages, making sure the design panel is active, save quite a few pages with different designs and finally refresh used classes and it jumps back up to where it should be.

This makes rebooting my computer an issue obviously. If I don’t hit that activate button and refresh used classes, it doesn’t pick up all the classes.