tlienart / Xranklin.jl

Experimental repo for a refactoring of Franklin.jl
https://tlienart.github.io/Xranklin.jl
MIT License
40 stars 1 forks source link

Activating an environment in a REPL Pkg block changes the environment in the source REPL #262

Closed gdalle closed 12 months ago

gdalle commented 1 year ago

Same problem as I had on Franklin, when I activate an environment on a website page it changes the environment in the REPL where I launched the website

gdalle commented 1 year ago

Edit: apparently it's only a problem when the website crashes

tlienart commented 1 year ago

yes I can see that happening, we keep track of the initial environment though so it should be possible to put the main logic in a big try-finally with the finally returning everything to how it was before.

gdalle commented 1 year ago

As you can see I've switched ModernJuliaWorkflows to Xranklin, so expect more issues in the near future ;)