You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[dwds] Wait for scripts to be parsed on a hot restart and publish DWDS 25.0.0
Like #2640, we
should wait until scripts are parsed before continuing a hot restart.
Otherwise, metadata can be stale and breakpoints may be placed in the
wrong files.
For now, we only do this in the DDC library bundle format as we don't
have a way to fetch the changed libraries in the AMD format.
- hotReloadSourcesUri is repurposed to be reloadedSourcesUri, which is
a breaking change. This file is now used for both hot restart and hot
reload to detail the changed files across either.
- Injected client is changed to return the mapping within this uri when
a hot reload is executed.
- Completer is added to ChromeProxyService to wait until all scripts are
parsed before recreating the isolate, which will reinitialize all metadata.
- Fix a preexisting race condition where we don't listen for a kIsolateStart
event early enough.
This should help fix the Windows flakes for hot_restart_breakpoints_test.dart.
Copy file name to clipboardExpand all lines: dwds/CHANGELOG.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,13 @@
1
-
## 24.4.2-wip
1
+
## 25.0.0
2
2
3
3
- Update a call to the `package:shelf_web_socket``webSocketHandler()` function.
4
4
5
+
**Breaking changes**
6
+
7
+
- Rename `FrontendServerDdcLibraryBundleStrategy.hotReloadSourcesUri` to
8
+
`reloadedSourcesUri`. The file that the `Uri` points to should now be updated
9
+
for both a hot restart and a hot reload.
10
+
5
11
## 24.4.1
6
12
7
13
- Implemented a WebSocket-based communication protocol that provides essential developer tooling (hot reload, service extensions) when Chrome debugger access is unavailable. - [#2605](https://github.com/dart-lang/webdev/issues/2605)
0 commit comments