Ive had issues with scss live reload not really working since around August, somewhere around v0.1.22.0+
My issue is similar to Hugo SASS pipelines do not recompile on updates in imported stylesheets
It isnt completely broken. It’s just that you need to do some voodoo to get the scss live reload “warmed up”
In my case I need to edit the top level style.scss (which is the file processed by resources.Get) . If I edit scss files that are @import from style.scss, the live reload doesnt work - UNTIL i edit the style.scss (ie i make a blank line and save it) then live reloading works when editing imported scss files until i restart the dev server
so I have the structure
{{ if hugo.IsServer }}
{{ $config := resources.Get "scss/config.scss" | resources.ExecuteAsTemplate "config.scss" . | toCSS (dict "targetPath" "css/config.css" "enableSourceMap" true) }}
{{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS (dict "targetPath" "css/style.css" "enableSourceMap" true) }}
<link rel="stylesheet" href="{{ $config.RelPermalink }}">
<link rel="stylesheet" href="{{ $style.RelPermalink }}"/>
{{ else }}
{{ $config := resources.Get "scss/config.scss" | resources.ExecuteAsTemplate "config.scss" . | toCSS }}
{{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS }}
<link rel="stylesheet" href="{{ ($config | minify | fingerprint).RelPermalink }}">
<link rel="stylesheet" href="{{ ($style | minify | fingerprint).RelPermalink }}">
{{ end }}