Refresh button
Feature description
Since the application is intended for synchronization with third-party tools, it has to contemplate the scenario in which notes/attachments are added, modified or deleted remotely.
This does not currently occur and the only way to do this is to close the application and reopen it.
Feature motivation
A refresh button in sidebar, which ideally, reloads the path from the .notable.json file and then reloads both notes and attachments would be nice.
This would be a solution that would also temporarily fix problems arising from filesystem watcher failures (#646).
The application already watches the filesystem for new/deleted/changed notes. (It does for me in Linux, at least.)
Which version of Notable and which OS are you using?
P.S. The cwd.reload command does what you're suggesting, right?
Yes, the application watches the filesystem, but it does not work in all cases. In my case with remote synchronization it does not. The alternative I have instead of closing and reopening the application is to trigger a local write event on the newly synced file, that event does get correctly interpreted by Notable. But it is not applicable in the case of deleting a file.
My OS is Linux Mint 19.3 Notable version 1.8.4
P.S. The
cwd.reloadcommand does what you're suggesting, right?
I don't know how to run commands in Notable.
I reccomend switching to the latest beta from https://github.com/notable/notable-insiders - despite the name, it's proably more stable from a file-watching perspective, and it's where development has been going for the past two years.
Version 1.9 of the app has a command pallete (Ctrl+Shift+P) that lets you run commands by searching for their name, or you can use the default shortcut defined. You might even find that the bug you're experiencing has been fixed.
Hopefully you'll have a positive experience with the 1.9 betas.