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

Saving .scss files does a full browser page refresh instead of live reloading just the css update #1

Open
NathanBowers opened this issue Mar 3, 2023 · 1 comment

Comments

@NathanBowers
Copy link

Everything works correctly except when saving .scss files the browser does a full page refresh instead of live reloading just the css change.

Using:

"@11ty/eleventy": "^2.0.0",
"@11tyrocks/eleventy-plugin-sass-lightningcss": "^1.0.1",

When I use just plain "sass": "^1.58.3" with a --watch flag as a task alongside npx @11ty/eleventy --serve the updated styles live reload as expected.

Wonder if there's some config I'm missing.

@denisenadal
Copy link

I'm having a similar issue. I can't seem to get the sass to recompile unless I exit from eleventy --serve and run the command again. I feel like there's got to be a simple config line I'm missing somewhere.

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