From 12679b408362a93a3c6159588d6291a3b7ed5548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 19 Jul 2018 12:50:24 +0200 Subject: [PATCH] hugolib: Mark shortcode changes as content changes in server mode This is unfortunate, but is needed to re-create the taxonomies collections etc. that may be referenced from them. Fixes #4965 --- hugolib/site.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugolib/site.go b/hugolib/site.go index 42e429e67..08cdd2652 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -817,7 +817,7 @@ func (s *Site) processPartial(events []fsnotify.Event) (whatChanged, error) { } changed := whatChanged{ - source: len(sourceChanged) > 0, + source: len(sourceChanged) > 0 || len(shortcodesChanged) > 0, other: len(tmplChanged) > 0 || len(i18nChanged) > 0 || len(dataChanged) > 0, files: sourceFilesChanged, }