Skip to content

Commit

Permalink
Only refresh loaded modules requiring it
Browse files Browse the repository at this point in the history
Use the qualified refresh property to only evaluate in refresh mode the
loaded modules marked with this property.

Fixes #477
  • Loading branch information
xdelaruelle committed Oct 31, 2022
1 parent 2828d78 commit 424aa90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcl/subcmd.tcl.in
Original file line number Diff line number Diff line change
Expand Up @@ -2466,7 +2466,7 @@ proc cmdModuleRefresh {} {
# load variants from loaded modules
cacheCurrentModules

foreach lm [getLoadedModulePropertyList name] {
foreach lm [getLoadedModulePropertyList refresh] {
# prepare info to execute modulefile
set vrlist [getVariantList $lm 1]
if {[llength $vrlist] > 0} {
Expand Down

0 comments on commit 424aa90

Please sign in to comment.