fix: close the existing watcher when adding new graph

Also, don't create today's journal file during parsing
This commit is contained in:
Tienson Qin
2021-11-25 13:30:49 +08:00
parent aca4109862
commit 7491857460
8 changed files with 15 additions and 10 deletions

View File

@@ -129,7 +129,7 @@
(swap! path-handles assoc path handle))))
_ (state/set-loading-files! true)
_ (when-not (state/home?)
(route-handler/redirect-to-home!))
(route-handler/redirect-to-home! false))
root-handle (first result)
dir-name (if nfs?
(gobj/get root-handle "name")