oops fix recompile logic
This commit is contained in:
parent
05fd80d4c5
commit
1d1a39b52d
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue