lukeleppan / better-word-count

Counts the words of selected text in the editor.
MIT License
263 stars 41 forks source link

Days disappearing in .vault-stats.json with sync #95

Open benjaminezequiel opened 1 year ago

benjaminezequiel commented 1 year ago

Hi! I am having some problems with my some of daily word count data disappearing when doing sync between different devices, I don't know if there is a way to fix it, I was using the plugin to have a history of words per day but some gaps start appearing when I change devices.

Kuiriel commented 1 year ago

I had the same issue when using dropbox. I'm not sure why. I ended up telling it not to sync plugin data between devices and use a pared down version of Obsidian on my phone.

benjaminezequiel commented 1 year ago

My current theory is that it overrides the previous information when I open Obsidian in another device. The vault.json is updated because it creates my daily note automatically, and then when merging with the sync file it dosen't merge. It just uses the local files and ignores the incoming one (thus losting a couple of days of data). No idea how to solve it tho.