Skip to content

Commit

Permalink
Fix livereload for the home page bundle
Browse files Browse the repository at this point in the history
Fixes #4576
  • Loading branch information
bep committed Apr 5, 2018
1 parent db0633c commit f87239e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hugolib/hugo_sites.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f87239e

Please sign in to comment.