Tags: dart-lang/webdev
Tags
[ DWDS ] Reestablish WS connections with app and Chrome debugger (#2728) When the computer enters sleep mode, Chrome does not attempt to reestablish websocket connections when the computer wakes up. This would break debugging of web applications when DWDS is configured to communicate with the Chrome debugger or the debugged application is using web sockets to communicate with DWDS. This change adds some retry logic to reestablish these web socket connections from the injected client and to the Chrome debugger. Related to flutter/flutter#179886
[ DWDS ] Refactor `AppInspector` to support both Chrome and Web Socke… …t connections (#2700) Created two new subclasses of `AppInspector`: `ChromeAppInspector` and `WebSocketAppInspector`. Functionality that doesn't require knowledge of the specific DWDS connection mode (e.g., WIP vs WS) remains in the now abstract `AppInspector`, and functionality specific to the connection mode is now implemented in the respective `*AppInspector` subclass. This allows for sharing logic around maintaining caches for scripts and libraries.
[DWDS] Fixes hot reload/restart crashes after closing browser tab on … …web-server device (#2699) * added NoClientsAvailableException logic * updated version to prepare for release * updated version number * addressed comments * remove duplicate logging * updated to throw RpcError * reverted chnages to _ReloadReportWithMetadata * updated changelog * refactored string No clients available for .... * updated to use kIsolateCannotReload * updated string
[ DWDS ] Serve DevTools from DDS by default (#2681) In order to reduce the number of ways DevTools is served across the ecosystem, we're working on serving DevTools from DDS by default in all tools that spawn DDS. This change exposes some new DDS related configuration options that allow for specifying whether or not DevTools should be served via DDS and whether or not an existing DevTools server should be used. The `devToolsLauncher` parameter has been marked as deprecated as it will be removed in a future major release, but will continue to act as the default way to launch DevTools if it is provided. Other DDS related properties that have been merged into the new `DartDevelopmentServiceConfiguration` class are also marked as deprecated.
[ DWDS ] Fix issue where null was repeatedly sent to connected clients ( #2678) This is a regression from 1c29125 and was reported in flutter/flutter#174437
PreviousNext