Hi there
I have just tried to install Revise and the usage example given in https://timholy.github.io/Revise.jl/stable/ does not seem to work as expected. I was wondering if someone could point out what I am doing wrong?
The full list of what I am doing is given below, but basically I install Revise, install Example, type “using Revise”, “using Example” and call the function in Example to print “hello, world” to the screen. Then I modify the code in Example.jl so that the message begins with “hi” instead of “hello”, call the function again, but still get the same result. So Revise doesn’t seem to have realised that I have modified the file.
Have I missed some step in installing or using Revise?
many thanks for any help.
(@v1.4) pkg> add Revise
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Updating `~/.julia/environments/v1.4/Project.toml`
[295af30f] + Revise v2.7.3
Updating `~/.julia/environments/v1.4/Manifest.toml`
[da1fd8a2] + CodeTracking v0.5.11
[aa1ae85d] + JuliaInterpreter v0.7.24
[6f1432cf] + LoweredCodeUtils v0.4.6
[bac558e1] + OrderedCollections v1.3.0
[295af30f] + Revise v2.7.3
[7b1f6079] + FileWatching
(@v1.4) pkg> dev Example
Cloning git-repo `https://github.com/JuliaLang/Example.jl.git`
Resolving package versions...
Updating `~/.julia/environments/v1.4/Project.toml`
[7876af07] + Example v0.5.4 [`~/.julia/dev/Example`]
Updating `~/.julia/environments/v1.4/Manifest.toml`
[7876af07] + Example v0.5.4 [`~/.julia/dev/Example`]
(@v1.4) pkg> ^C
julia> using Revise
julia> using Example
[ Info: Precompiling Example [7876af07-990d-54b4-ab0e-23690620f79a]
julia> hello("world")
"Hello, world"
julia> hello("world")
"Hello, world"
julia>
9 posts - 4 participants