5t3ph / 5t3ph/eleventy-plugin-sass-lightningcss
Saving .scss files does a full browser page refresh instead of live reloading just the css update
- Lingua principale
- JavaScript
- Stelle
- 42
- Fork
- 4
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Look at the plugin's source code to understand how it triggers rebuilds and live reloads. Compare the behavior with plain sass --watch. Check the Eleventy serve mode and how file changes are detected. The goal is to make .scss file saves trigger a CSS-only live reload instead of a full page refresh.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, sass
- Ambito
- build-system, developer-experience
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100