summaryrefslogtreecommitdiffstats
path: root/hugolib/hugo_sites.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-05-18 10:18:23 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-05-18 10:18:23 +0200
commit6b3f1a10028c81b776a5797bbd02c86957f8f042 (patch)
tree5baea905bcf366e03dd482384b2983b0f2b5cd87 /hugolib/hugo_sites.go
parente22b3f54c3d8ce6567c21c63beab0b03cf7983ea (diff)
parentfa8e334dae46dfe71e1f6365d8054d085515c4c5 (diff)
Merge branch 'release-0.55.6'
Diffstat (limited to 'hugolib/hugo_sites.go')
-rw-r--r--hugolib/hugo_sites.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/hugolib/hugo_sites.go b/hugolib/hugo_sites.go
index fdd4e890c..e852e7f1d 100644
--- a/hugolib/hugo_sites.go
+++ b/hugolib/hugo_sites.go
@@ -62,6 +62,9 @@ type HugoSites struct {
// If this is running in the dev server.
running bool
+ // Serializes rebuilds when server is running.
+ runningMu sync.Mutex
+
// Render output formats for all sites.
renderFormats output.Formats