If I’ve installed and loaded a package, and then in the same session
develop said package, I would expect that
pkgdir(<developed package>) would point to the developed package path. This is not my experience, the directory returned is the installed package path. This is confusing because
Pkg.status() shows the package as developed and the correct path, but running
pkgdir gives a different result. The only solution for me is to restart Julia, which I’d really like to avoid.
I’m not sure if Revise.jl is required for this or not. Please see related issue I opened: Revise.jl fails to track updated packages on Windows · Issue #709 · timholy/Revise.jl (github.com)
Is there any workaround I can use to tell Julia to load a different package code?