Skip to content

Commit

Permalink
fix: fix recursive rendering during live-reload
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhsudhir committed Jul 5, 2024
1 parent 4df3f4f commit 2508cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/anna/livereload.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func newLiveReload(siteDataPath string) *liveReload {
errorLogger: log.New(os.Stderr, "ERROR\t", log.Ldate|log.Ltime|log.Lshortfile),
fileTimes: make(map[string]time.Time),
rootDirs: []string{siteDataPath},
extensions: []string{".go", ".md", ".json"},
extensions: []string{".md"},
siteDataPath: siteDataPath,
}
return &lr
Expand Down

0 comments on commit 2508cd5

Please sign in to comment.