I have just changed e.bat so that it reloads ekr.leo (my main test file) 
immediately after it closes:

:loop
python c:\leo.repo\leo-editor\launchLeo.py --gui=qttabs C:\Users\edreamleo\
ekr.leo
if errorlevel 1 goto :end
goto loop
:end
echo Leo quit with errorlevel %errorlevel%

So now the work flow is:

- Run e.bat to start ekr.leo.
- Make changes to Leo.
- Quit ekr.leo and watch it reload.

I've added @button kill-leo to e.bat.  It terminates the batch loop above 
and prevents the "already open" popup message the next time we start 
ekr.leo:

import sys
del g.app.db ['open-leo-files']
sys.exit(1)

That's it!

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to