I have a custom package that runs on multiple processes. If I
addprocs(n); using Mypkg it will load the code to each worker (I can tell because of the annoying Nullable warnings).
Now when I edit the source code, my Revise.jl will change the code on my REPL, worker 1, but not on the parallel workers. The only way I have found to fix this is to remove the workers, add them and re-use:
map(rmprocs, workers()) addprocs(n) using Mypkg
This takes a long time, but beats restarting. It seems to me that an
@everywhere clever-revise-command would do the trick. Anyone have a clever way to do this?
Separately, I noticed that Revise.jl doesn’t revise when you start with
julia -p n I submitted an issue for that.
Thanks in advance.