chore: rm fs-watcher debug print

This commit is contained in:
Andelf
2022-05-11 17:45:27 +08:00
parent e29dc7373e
commit f7ba2b5864

View File

@@ -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!))