Skip to content

Revise loaded in -E/-e for -i not updating definitions #202

@mortenpi

Description

@mortenpi

When loading a Julia script as follows:

julia -i -e 'using Revise; includet("script.jl")'

Revise will not update the function definitions etc. afterwards. The original version of the script gets loaded without issues though.

Tested with Revise master (dd6e970) on Julia 1.0.0 and the normal Revise workflow (using Revise; includet("script.jl") in the REPL) works without problems.

Edit: just a bit more debugging:

sh$ julia -i -e 'using Revise'
julia> includet("script.jl")

also fails (i.e. not updating), so it seems to be a problem with loading Revise in the -E/-e option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending prThere is a pending PR that may fix this

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions