webdev
webdev copied to clipboard
Support running the `reload_test` with the `FrontendServer`
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:
FrontendServerRequireStrategyFrontendServerDdcStrategy
This might be worth investigating when we add support for hot reload.
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.