fix: set ignoreInitial to true for file watcher

pull/1274/head
Tienson Qin 2021-02-05 13:25:48 +08:00
parent 56be5a68ba
commit 3d80dc2310
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@
["." "assets" "node_modules"])
(some #(string/ends-with? path (str dir "/" %))
[".swap" ".crswap" ".tmp"])))
;; :ignoreInitial true
:ignoreInitial true
:persistent true
:awaitWriteFinish true}))]
(.on watcher "add"