Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Auto reload of rapid file changes outside of the editor sometimes loads wrong version. #515

Open
georgir opened this issue Aug 2, 2018 · 0 comments

Comments

@georgir
Copy link

georgir commented Aug 2, 2018

There is already a feature to detect when a file is changed by another program and reload it - after confirmation if there were unsaved edits, or automatically and silently if there weren't.

But it is not working right when multiple consecutive changes happen in a very short interval. For example, the rapid changes from git stash;git pull; git stash pop would sometimes cause the version after the stash to be loaded instead of the final version. This can cause loss of important edits if not noticed.

I guess adding some delay to the reload so that file changes are sure to have settled down can solve this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant