ref: 12679b408362a93a3c6159588d6291a3b7ed5548
parent: c39ac5738d5841c2fbcdeaa637182b918be22667
author: Bjørn Erik Pedersen <[email protected]>
date: Thu Jul 19 08:50:24 EDT 2018
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
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -817,7 +817,7 @@
}
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,
}