oops fix recompile logic

This commit is contained in:
Alexander Wang 2023-11-13 07:14:47 -08:00
parent 05fd80d4c5
commit 1d1a39b52d
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -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 {