mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
fix: close the existing watcher when adding new graph
Also, don't create today's journal file during parsing
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
|
||||
(and (= "change" type)
|
||||
(not (db/file-exists? repo path)))
|
||||
(js/console.warn "Can't get file in the db: " path)
|
||||
(js/console.error "Can't get file in the db: " path)
|
||||
|
||||
(and (= "change" type)
|
||||
(not= (string/trim content) (string/trim db-content))
|
||||
|
||||
Reference in New Issue
Block a user