This repository is a minimal reproduction of a bug in Hugo when using sass/scss in assets/styles/subfolders.
The bug was introduced in Hugo 0.123.0.
When chaning styles in a subfolder of assets/styles
, the live server does not reload the changes.
If we change a file that triggers a reload correctly, the changes in the subfolder will be reflected.
- Clone this repository
- Run
hugo server
- Open
http://localhost:1313/
in your browser - Change the
background-color
in assets/styles/components/_container.scss. The change will not be reflected in the browser. - Change the
background-color
in assets/styles/_typography.scss. Hot reload will work as expected.