diff --git a/src/main/frontend/handler/events.cljs b/src/main/frontend/handler/events.cljs index 2e5091090c..50a455d0f8 100644 --- a/src/main/frontend/handler/events.cljs +++ b/src/main/frontend/handler/events.cljs @@ -346,12 +346,11 @@ (defmethod handle :file-watcher/changed [[_ ^js event]] (let [type (.-event event) - payload (js->clj event :keywordize-keys true) - payload' (-> payload - (update :path js/decodeURI))] - (prn ::fs-watcher payload) - (fs-watcher/handle-changed! type payload') - (sync/file-watch-handler type payload'))) + payload (-> event + (js->clj :keywordize-keys true) + (update :path js/decodeURI))] + (fs-watcher/handle-changed! type payload) + (sync/file-watch-handler type payload))) (defmethod handle :rebuild-slash-commands-list [[_]] (page-handler/rebuild-slash-commands-list!))