Hi all, first of all, thanks for your work on Joplin!
I use gvim to edit documents externally on linux in v 1.0.158. Unfortunately about half of the time, Joplin stops watching the file and does not see the updates from the external editor file. I have not been able to reproduce consistently, but it seems that the line
I had the issue, but it happened consistently after about 3 saves (I don’t remember exactly). To fix this I needed to start vim like this gvim -c 'set backupcopy=yes'
And to get that into joplin (using gnome-terminal on linux)
I think what would be more useful is to change the “Watching” button to say “Error” if an “unlink” event happens and possibly point to a place where they can find out how to fix it.
Another question is “should Joplin be able to tolerate these unlink events?” it would be nice if it just worked. Maybe chokidar has something that can handle it.
Same issue with xed on Linux Mint. I was using that since it came default. I get 1 save before it stops capturing changes. It seems that the -nb (no backup) argument for xed has been depreciated (found it on a manpage somewhere online).