heyman / heynote

A dedicated scratchpad for developers
https://heynote.com
Other
3.76k stars 183 forks source link

Feature request: Add Option to force-reload bufferfile on "activation/focusgrab" #229

Closed jan-the-maker closed 3 months ago

jan-the-maker commented 3 months ago

For people running multiple instances for example on their mac and windows pc it is currently not possible to use the apps together (with a buffer file on a network drive or cloud synced folder) due to the fact how/when heynote reads the buffer file.

Currently if you edit in computer_1 and close/hide heynote via the hotkey it makes a save. If you now change to computer_2 and trigger heynote it doesn't reload the file on "activation/focusgrab" which leads to never seeing the changes made on machine_1 and working thus on a separate Version ("cache") on computer_2 that then overrides the changes made on machine_1

..." so if we would just have the option to reload the file "blindly" every time heynote activates we would have a simple multi plattform sync.

jan-the-maker commented 3 months ago

Sorry looks like it works now. I had success with using SynologyDrive (i think its rsync under the hood). Using a central network share lead to the destruction of the bufferfile so thats not an option. I also suspect that some cloud sync service like Google Drive is just to slow to catch up and could bring its own problems. But synology drive is so fast that my kvm switch is way behind it in terms of speed and that probably leads to a very reliable solution. Maybe that info helps someone who has similar problems.