Additional polish and fixes

- fix two bugs with subs - didn't have global config and missing merge
- explicit re-watch for global config
- more docs
This commit is contained in:
Gabriel Horner
2022-09-05 17:13:00 -04:00
committed by Andelf
parent b1d210d26b
commit 7ade955df7
12 changed files with 47 additions and 31 deletions

View File

@@ -121,7 +121,7 @@
(route-handler/redirect-to-home!))
(when-let [dir-name (config/get-repo-dir graph)]
(fs/watch-dir! dir-name))
(global-config-handler/watch-for-global-config-dir! graph)
(global-config-handler/re-watch-dir! graph)
(srs/update-cards-due-count!)
(state/pub-event! [:graph/ready graph])
(repo-handler/refresh-repos!)