mirror of
https://github.com/logseq/logseq.git
synced 2026-05-24 20:54:09 +00:00
chore: rm fs-watcher debug print
This commit is contained in:
@@ -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!))
|
||||
|
||||
Reference in New Issue
Block a user