fix: disable ignoreInital for file watcher

Related to #3451, #3460
pull/3465/head
Tienson Qin 2021-12-14 14:58:42 +08:00
parent 096e285090
commit 8d61fbec57
1 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,7 @@
;; TODO: explore different solutions for different platforms
;; 1. https://github.com/Axosoft/nsfw
(defonce polling-interval 5000)
(defonce polling-interval 10000)
(defonce file-watcher (atom nil))
(defonce file-watcher-chan "file-watcher")
@ -26,8 +26,7 @@
(clj->js
{:ignored (fn [path]
(utils/ignored-path? dir path))
;; :ignoreInitial false
:ignoreInitial true
:ignoreInitial false
:ignorePermissionErrors true
:interval polling-interval
:binaryInterval polling-interval