5t3ph / 5t3ph/eleventy-plugin-sass-lightningcss
Saving .scss files does a full browser page refresh instead of live reloading just the css update
- Lenguaje dominante
- JavaScript
- Estrellas
- 42
- Forks
- 4
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, sass
- Área
- build-system, developer-experience
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 45/100