Permalink
Browse files

Fix livereload for the home page bundle

Fixes #4576
  • Loading branch information...
bep committed Apr 5, 2018
1 parent db0633c commit f87239e4cab958bf59ecfb1beb8cac439441a553
Showing with 1 addition and 0 deletions.
  1. +1 −0 hugolib/hugo_sites.go
@@ -676,6 +676,7 @@ type contentChangeMap struct {
func (m *contentChangeMap) add(filename string, tp bundleDirType) {
m.mu.Lock()
dir := filepath.Dir(filename) + helpers.FilePathSeparator
dir = strings.TrimPrefix(dir, ".")
switch tp {
case bundleBranch:
m.branches = append(m.branches, dir)

0 comments on commit f87239e

Please sign in to comment.