Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BrowserSync not updating CSS correctly (PurgeCSS) #126

Open
xdcha opened this issue Aug 12, 2022 · 1 comment
Open

BrowserSync not updating CSS correctly (PurgeCSS) #126

xdcha opened this issue Aug 12, 2022 · 1 comment

Comments

@xdcha
Copy link

xdcha commented Aug 12, 2022

BrowserSync and PurgeCSS do not seem to update automatically. You have to run the build again if you change grid columns for example.

On grid.html for example, if you change the first yellow box to

u-gc-1/4@from-medium

It just defaults back to the full-width column

grid-column: 1 / -1;

Screenshot 2022-08-12 at 7 32 52 pm

In addition, the ratio .u-4:3 is not being pulled through either. And some of the images do not load as you scroll.

@devenini
Copy link
Member

Hello! Indeed, we do have a limitation with the current compilation tasks. The temporary solution is to save any .scss file, while the watch task is running. (npm run start). It will parse all specified templates and compile the styles accordingly with the correct u-gc-* classes. We're planning to fix this in the near future!

For the ratio/lazy-loading problem, can you provide more details? It does work on my side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants