Tags: dart-lang/webdev
Tags
[dwds] Split hot reload callback into 2, disable breakpoints in chang… …ed files, and publish 24.3.10 (#2606) dart-lang/sdk#60186 Breakpoints are currently broken when doing a hot reload when files change. They either are not re-mapped or point to the wrong location. For now, we should disable them in the changed libraries. In order to do this, we split the hot reload implementation into 2 in order to get the list of changed libraries. The call to hot reload will later use the cached list to call out to the embedder. Note that this likely won't change any behavior. New JS files already don't have breakpoints, so this PR should be mostly about cleaning up bookkeeping.
Updated DWDS to include a boolean flag that enables debugging support… … when set to true (#2601) * updated Dwds with bool that only enableDebuggingSupport when set to true * updated Changelog * formatted file * updated dwds version in pubspec to 24.3.8 * updated version.dart to 24.3.8 * updated docstring for DWDSInjector class * updated docstring for DWDSInjector class * modified docstring
Added method findPackageConfigFilePath to find the package_config.jso… …n file (#2587) * added findPackageConfigFilePath to find the package_config.json file * updated Changelog * updated strategy providers to allow clients to specify package config path * added util method for webdev to compute package config path and pass it to the load strategy * updated docstring * revert changes to webdev * Set DWDS version to 24.3.5 to prepare for release
[dwds] Implement hot reload and publish 24.3.4 (#2583) - Modifies the Chrome proxy service to call a callback that the injected client has setup in order to do a hot reload. - This callback forwards to the restarter. - This restarter reads from a path that Flutter tools sets up beforehand in order to fetch the changed sources and their associated libraries. - Issues a hot reload to DDC using that data. - Reassembles the Flutter engine to render a frame if the extension exists. - Returns a custom ReloadReport on whether or not this operation succeeded. - Fixes a test to no longer assume an error throws but that the ReloadReport returns false for success. - Publishes DWDS 24.3.4.
Implement hot restart for DDC library bundle format and publish 24.3.3 ( #2576) * Build dwds with Dart 3.8.0-12.0.dev Formats some generated code and updated client.js. * Implement hot restart for DDC library bundle format - Optionally invokes ext.flutter.disassemble to restart engine - Calls dartDevEmbedder.hotRestart to trigger a hot restart The rest of the implementation will and needs to be in the Flutter tools repo. * Publish 24.3.3
[ DWDS ] Relax DDS constraint, prepare for 24.3.2 release
PreviousNext