mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
Add Dart Sass support
But note that the Dart Sass Embedded Protocol is still in beta (beta 5), a main release scheduled for Q1 2021. Fixes #7380 Fixes #8102
This commit is contained in:
@@ -48,6 +48,10 @@ func (h *HugoSites) Build(config BuildCfg, events ...fsnotify.Event) error {
|
||||
// Make sure we don't trigger rebuilds in parallel.
|
||||
h.runningMu.Lock()
|
||||
defer h.runningMu.Unlock()
|
||||
} else {
|
||||
defer func() {
|
||||
h.Close()
|
||||
}()
|
||||
}
|
||||
|
||||
ctx, task := trace.NewTask(context.Background(), "Build")
|
||||
|
Reference in New Issue
Block a user