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