dart-lang / webdev

A CLI for Dart web development.
https://pub.dev/packages/webdev
213 stars 71 forks source link

Support running the `reload_test` with the `FrontendServer` #2380

Open elliette opened 4 months ago

elliette commented 4 months ago

Currently the reload_tests only work when using BuildRunner with the RequireStrategy. This is because only BuildRunner outputs a stream of build events that the test can use to check if a file has been successfully recompiled after being edited.

It would be good to have a way to run these tests when using the FrontendServer as well, and test against both: