Skip to content

Can Pluto.jl & Revise.jl work together? #238

@jarvist

Description

@jarvist

I'm a computational scientist, so I often have a workflow where I'm simultaneously writing a Julia package, and then using a notebook to run experiments & make plots as I change stuff. Using Tim Holy's Revise.jl is really useful here, as you can edit functions & all it just works.
In a Jupyter notebook, this workflow requires a first cell something like:

using Revise
using Pkg
Pkg.activate("../")
using MyPackage

However, this doesn't seem to work in Pluto. It doesn't give any errors, but also Revise.jl does not automatically update. Instead you have to shut down & restart the kernel as you make edits.
Am I doing something wrong, or is there some fundamental incompatibility with Revise.jl?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions