diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-02-18 10:02:12 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-02-18 22:53:23 +0100 |
commit | 6d2281c8ead70ac07122027c989807c0aa1a7722 (patch) | |
tree | 33686a2048a58f59954d8e1bb64a5cd3f8476af7 /hugolib/hugo_sites_build.go | |
parent | e096917f8738404696627a279277820dbe3a8f94 (diff) |
hugolib: Add disableKinds option
Fixes #2534
Diffstat (limited to 'hugolib/hugo_sites_build.go')
-rw-r--r-- | hugolib/hugo_sites_build.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hugolib/hugo_sites_build.go b/hugolib/hugo_sites_build.go index a214e523c..059b0fe1e 100644 --- a/hugolib/hugo_sites_build.go +++ b/hugolib/hugo_sites_build.go @@ -136,6 +136,12 @@ func (h *HugoSites) process(config *BuildCfg, events ...fsnotify.Event) error { } func (h *HugoSites) assemble(config *BuildCfg) error { + if config.whatChanged.source { + for _, s := range h.Sites { + s.createTaxonomiesEntries() + } + } + // TODO(bep) we could probably wait and do this in one go later h.setupTranslations() |