[dwds] Use new hot restart API from embedder

Start using the new `hotRestartBegin` and `hotRestartEnd` APIs from
the embedder.

These require the library bundle module system and allow for more
customization in the integration of the hot restart operation.

Specifically this allows for `$dartReloadModifiedModules` to decide
which of the files provided from reloadedSources.json should actually
be requested at this time and return the list of the actual requests so
the restart logic in dwds knows what scripts it should await parse
events for.

Issue: https://github.com/dart-lang/webdev/issues/2826
10 files changed
tree: 0c9bfb69abd5b8ceaa8ebaa3066c09a66e357fb0
  1. .github/
  2. _analysis_config/
  3. debug_extension/
  4. dwds/
  5. dwds_test_common/
  6. example/
  7. frontend_server_client/
  8. tool/
  9. webdev/
  10. .gitattributes
  11. .gitignore
  12. AUTHORS
  13. CONTRIBUTING.md
  14. mono_repo.yaml
  15. README.md
README.md

Dart

Packages

PackageDescriptionVersion
dwdsA service that proxies between the Chrome debug protocol and the Dart VM service protocol.pub package
frontend_server_clientClient code to start and interact with the frontend_server compiler from the Dart SDK.pub package
webdevA CLI for Dart web development. Provides an easy and consistent set of features for users and tools to build and deploy web applications with Dart.pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.