mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00: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