webdev icon indicating copy to clipboard operation
webdev copied to clipboard

Support running the `reload_test` with the `FrontendServer`

Open elliette opened this issue 1 year ago • 1 comments

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:

  • FrontendServerRequireStrategy
  • FrontendServerDdcStrategy

elliette avatar Mar 05 '24 17:03 elliette

This might be worth investigating when we add support for hot reload.

bkonyi avatar Aug 07 '24 17:08 bkonyi

The reload_ tests (now called restart_) are now running with the FES + DDC library bundle format. Some of the tests can't be run with the FES specifically because they rely on build events, but others now explicitly await a FES recompile and then do a hot restart via the service extension.

srujzs avatar Apr 15 '25 22:04 srujzs