diff --git a/d2cli/watch.go b/d2cli/watch.go index ca2280dc0..9e3e80010 100644 --- a/d2cli/watch.go +++ b/d2cli/watch.go @@ -433,7 +433,7 @@ func (w *watcher) handleRoot(hw http.ResponseWriter, r *http.Request) {
-`, w.outputPath, w.devMode) +`, filepath.Base(w.outputPath), w.devMode) } func (w *watcher) handleWatch(hw http.ResponseWriter, r *http.Request) error {