eleventy-plugin-sass-lightningcss icon indicating copy to clipboard operation
eleventy-plugin-sass-lightningcss copied to clipboard

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

Open NathanBowers opened this issue 1 year ago • 1 comments

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.

NathanBowers avatar Mar 03 '23 05:03 NathanBowers

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.

denisenadal avatar Apr 07 '23 13:04 denisenadal