From 1d1a39b52d3bc3b0c73d8fc1e610afab2f7cace9 Mon Sep 17 00:00:00 2001 From: Alexander Wang Date: Mon, 13 Nov 2023 07:14:47 -0800 Subject: [PATCH] oops fix recompile logic --- d2cli/watch.go | 1 + 1 file changed, 1 insertion(+) diff --git a/d2cli/watch.go b/d2cli/watch.go index 14498ff67..b721e7726 100644 --- a/d2cli/watch.go +++ b/d2cli/watch.go @@ -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 {