Relolad LEO file?

72 views
Skip to first unread message

gar

unread,
Jul 1, 2019, 4:57:13 AM7/1/19
to leo-editor
Say I am working under the same LEO project on multiple computers syncing with GIT (or whatever)
Say leo's project file changed remotely, and then I update it locally.
I expect LEO to discover that and ask me what to do.
But as I see LEO does not handle this and all I can do - close the project and open it again.
Is that the only option to reload LEO project?

Edward K. Ream

unread,
Jul 4, 2019, 6:18:37 PM7/4/19
to leo-editor
Yes, that's the only way at present.  I think I understand what you want, but imo reloading Leo is the only safe thing to do.

Edward

gar

unread,
Jul 8, 2019, 12:19:44 PM7/8/19
to leo-editor
At least LEO should alarm that file has changed and ask user to reload the project.
Otherwise user can get unpleasant errors when he'll see the problem when a lot of job is done (and there'll arise a problem with merging what was overwrited and what was added)

пятница, 5 июля 2019 г., 1:18:37 UTC+3 пользователь Edward K. Ream написал:

Edward K. Ream

unread,
Jul 10, 2019, 10:12:40 AM7/10/19
to leo-editor
On Mon, Jul 8, 2019 at 11:19 AM gar <gar...@gmail.com> wrote:
At least LEO should alarm that file has changed and ask user to reload the project.

Good idea.  I have just created #1240 for this.

Edward

jkn

unread,
Jul 10, 2019, 11:52:08 AM7/10/19
to leo-editor
Hmm - I thought this was what I was asking for in the thread "Leo options if file on disk gets updated" a little while ago, was never quite sure if that got bottomed out. Oh well, I am happy if gar's request makes it more likely to occur.

I am still a bit confused about some of the messages that occur around this sort of this: "file XXX has changed on disk: reload it?" etc. It's not very clear to me what is going on in these cases.

Edward K. Ream

unread,
Jul 10, 2019, 12:07:52 PM7/10/19
to leo-editor
On Wed, Jul 10, 2019 at 10:52 AM jkn <jkn...@nicorp.f9.co.uk> wrote:

I am still a bit confused about some of the messages that occur around this sort of this: "file XXX has changed on disk: reload it?" etc. It's not very clear to me what is going on in these cases.

Leo continuously monitors the external files in each open outline (.leo file).  Leo will issue this message if you change an external file in another editor, or if you switch git branches, thereby changing one or more external files.

Edward
Reply all
Reply to author
Forward
0 new messages