Skip to content

Commit 424aa90

Browse files
committed
Only refresh loaded modules requiring it
Use the qualified refresh property to only evaluate in refresh mode the loaded modules marked with this property. Fixes #477
1 parent 2828d78 commit 424aa90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tcl/subcmd.tcl.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2466,7 +2466,7 @@ proc cmdModuleRefresh {} {
24662466
# load variants from loaded modules
24672467
cacheCurrentModules
24682468

2469-
foreach lm [getLoadedModulePropertyList name] {
2469+
foreach lm [getLoadedModulePropertyList refresh] {
24702470
# prepare info to execute modulefile
24712471
set vrlist [getVariantList $lm 1]
24722472
if {[llength $vrlist] > 0} {

0 commit comments

Comments
 (0)