Skip to content

Commit

Permalink
oops fix recompile logic
Browse files Browse the repository at this point in the history
  • Loading branch information
alixander committed Nov 13, 2023
1 parent 79c5e5c commit a0a6ad4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions d2cli/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ func (w *watcher) handleRoot(hw http.ResponseWriter, r *http.Request) {
recompile := false
if boardPath != w.boardPath {
w.boardPath = boardPath
recompile = true
}
w.boardpathMu.Unlock()
if recompile {
Expand Down

0 comments on commit a0a6ad4

Please sign in to comment.