Fix duplicated scripts and prep to publish dwds (#1414)

* Fix duplicated scripts and prep to publish dwds

Make inspector initializer wait on the same future as
getScripts call in ChromeProxyService to make sure
we populate caches only once.

Prep to publish to support file picker work in devtools.

Closes: https://github.com/dart-lang/webdev/issues/1413

* Populate script caches only once using async memoizer

* Memoize the list of scripts as well

* Addressed CR comments
9 files changed
tree: e8181125ff5be956c3c066deaec75a00652efbde
  1. .github/
  2. dwds/
  3. example/
  4. fixtures/
  5. frontend_server_client/
  6. frontend_server_common/
  7. tool/
  8. webdev/
  9. .gitattributes
  10. .gitignore
  11. analysis_options.yaml
  12. AUTHORS
  13. CONTRIBUTING.md
  14. mono_repo.yaml
  15. README.md
README.md

Dart

dwds Pub Package

A service that proxies between the Chrome debug protocol and the Dart VM service protocol.

webdev Pub Package

A command-line tool for developing and deploying web applications with Dart.