Skip to content

Commit

Permalink
Allow Revise to be loaded in -e/E arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenpi committed Sep 1, 2019
1 parent bd7d161 commit b1a2b1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Revise.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,8 @@ function __init__()
steal_repl_backend(Base.active_repl_backend::REPL.REPLBackend)
elseif isdefined(Main, :IJulia)
Main.IJulia.push_preexecute_hook(revise)
elseif Base.isinteractive()
@async Revise.wait_steal_repl_backend()
end
if isdefined(Main, :Atom)
setup_atom(getfield(Main, :Atom)::Module)
Expand Down

0 comments on commit b1a2b1b

Please sign in to comment.