Revise.jl

Automatically update function definitions in a running Julia session
Popularity
515 Stars
Updated Last
3 Months Ago
Started In
June 2017
Revise.jl

Build Status Build status codecov.io

Revise.jl allows you to modify code and use the changes without restarting Julia. With Revise, you can be in the middle of a session and then update packages, switch git branches, and/or edit the source code in the editor of your choice; any changes will typically be incorporated into the very next command you issue from the REPL. This can save you the overhead of restarting Julia, loading packages, and waiting for code to JIT-compile.

See the documentation:

In particular, most users will probably want to alter their .julia/config/startup.jl file to run Revise automatically, as described in the "Configuration" section of the documentation.

Credits

Revise became possible because of Jameson Nash's fix of Julia issue 265. Juno is an IDE that offers an editor-based mechanism for achieving some of the same aims.

Major releases

  • The current 2.x release cycle uses JuliaInterpreter to step through your module-defining code.
  • The 1.x release cycle does not use JuliaInterpreter, but does integrate with Pkg.jl. Try this if the 2.x releases give you trouble. (But please report the problems first!)
  • For Julia 0.6 see this branch

See the NEWS for additional information.