Open MilesCranmer opened 8 months ago
Thanks. So I guess it doesn't work anymore maybe?
(from that thread) – @schillic In recent versions (I tried Revise v3.5.2 with Julia v1.8.5) the quick
exit()
workaround does not work anymore. I thought I'd report that here.
I wonder if it could also be an issue of OhMyREPL.jl running things before exit()
is called...?
Sorry if this has been posted before.
Sometimes I will modify some struct, then, realizing I need to restart my REPL to get the changes, quit:
However, rather than exiting immediately as I have requested, Revise will continue to run (for sometimes a second, if not more), while attempting to load my recent (breaking) changes in to the REPL. This inevitably leads to some ugly and irrelevant error messages like this:
That hide whatever I was doing from the end of my terminal screen.
This is a quality of life request: I was wondering if there were any options for automatically turning off Revise whenever the user quits the REPL with
exit()
?A workaround that seems to work is to use
ctrl-D
which does not trigger Revise (so it seems?), avoiding this issue. However this is not usable in some settings – like if I'm ssh'd somewhere andctrl-D
instead exits my entire tmux session or something. So I'd like to have a cleanexit
command that I can use