Index: runtime/observatory/lib/src/elements/library_view.dart |
diff --git a/runtime/observatory/lib/src/elements/library_view.dart b/runtime/observatory/lib/src/elements/library_view.dart |
index 55f05bff5a071b6611c4c46feefb48cfff00592f..6b43ae3a5700d2f17f868ed1af4d167124d5af26 100644 |
--- a/runtime/observatory/lib/src/elements/library_view.dart |
+++ b/runtime/observatory/lib/src/elements/library_view.dart |
@@ -20,8 +20,15 @@ class LibraryViewElement extends ObservatoryElement { |
return library.evaluate(expression); |
} |
+ void attached() { |
+ library.variables.forEach((variable) => variable.reload()); |
+ } |
+ |
Future refresh() { |
- return library.reload(); |
+ var loads = []; |
+ loads.add(library.reload()); |
+ library.variables.forEach((variable) => loads.add(variable.reload())); |
+ return Future.wait(loads); |
} |
Future refreshCoverage() { |