mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
Reset the i18n func map on reload
Also improve the error message on missing resource bundles.
This commit is contained in:
@@ -276,6 +276,8 @@ func (h *HugoSites) Rebuild(config BuildCfg, events ...fsnotify.Event) error {
|
||||
s.resetBuildState()
|
||||
}
|
||||
|
||||
helpers.InitLoggers()
|
||||
|
||||
changed, err := firstSite.reBuild(events)
|
||||
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user