From 7b62d9eac8c1e843ea30902398f9063e14e62aaf Mon Sep 17 00:00:00 2001 From: Alberto Mengali Date: Wed, 28 Aug 2024 15:59:10 +0200 Subject: [PATCH] actually do the change --- src/runner/PlutoRunner/src/evaluation/deleting globals.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runner/PlutoRunner/src/evaluation/deleting globals.jl b/src/runner/PlutoRunner/src/evaluation/deleting globals.jl index b918d80fe..d0a14c83e 100644 --- a/src/runner/PlutoRunner/src/evaluation/deleting globals.jl +++ b/src/runner/PlutoRunner/src/evaluation/deleting globals.jl @@ -34,8 +34,6 @@ function move_vars( old_workspace = getfield(Main, old_workspace_name) new_workspace = getfield(Main, new_workspace_name) - do_reimports(new_workspace, module_imports_to_move) - for cell_id in cells_to_macro_invalidate delete!(cell_expanded_exprs, cell_id) end @@ -96,6 +94,8 @@ function move_vars( end end + do_reimports(new_workspace, module_imports_to_move) + revise_if_possible(new_workspace) end