mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
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
This commit is contained in:
parent
c39ac5738d
commit
12679b4083
1 changed files with 1 additions and 1 deletions
|
@ -817,7 +817,7 @@ func (s *Site) processPartial(events []fsnotify.Event) (whatChanged, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
changed := whatChanged{
|
changed := whatChanged{
|
||||||
source: len(sourceChanged) > 0,
|
source: len(sourceChanged) > 0 || len(shortcodesChanged) > 0,
|
||||||
other: len(tmplChanged) > 0 || len(i18nChanged) > 0 || len(dataChanged) > 0,
|
other: len(tmplChanged) > 0 || len(i18nChanged) > 0 || len(dataChanged) > 0,
|
||||||
files: sourceFilesChanged,
|
files: sourceFilesChanged,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue