5t3ph / 5t3ph/eleventy-plugin-sass-lightningcss
Saving .scss files does a full browser page refresh instead of live reloading just the css update
- Langage dominant
- JavaScript
- Étoiles
- 42
- Forks
- 4
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, sass
- Domaine
- build-system, developer-experience
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 45/100