frank-flow icon indicating copy to clipboard operation
frank-flow copied to clipboard

Detect file changed by other program

Open jacodg opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Sometimes you edit the same file in both the Frank!Flow and VSCode or another editor. VSCode will detect changes saved in the Frank!Flow and it will load the changes automatically. The other way around is not the case. This gives the risk of losing changes when you made changes in VSCode, go back to the Frank!Flow and edit the old version and save it.

Describe the solution you'd like Make the Frank!Flow detect changes made by other programs an load these changes

Describe alternatives you've considered -

Additional context -

jacodg avatar Apr 07 '22 22:04 jacodg

Thanks to @nielsm5 the files have etags. We still have to implement them, tho. We should poll every 5 seconds or so to check if the etag on the file system hasn't been changed.

This would be a future feature for now, as I think it is pretty fair for a new application to not support working in two editors at the same time.

philipsens avatar Apr 11 '22 08:04 philipsens