If I set webServer.reuseExistingServer to true, and the server is not running when I run Playwright, it starts the server for me using webServer.command.
However, the server then seems to exit after the tests complete; this prevents me from navigating in the browser window to use the VSCode extension's "Pick locator" command, and means the server has to be started every time I run a test — making reuseExistingServer somewhat irrelevant!
Changing the way reuseExistingServer works is probably not ideal, as there is bound to be somebody who relies on the current behaviour, but could there be a keepServerAlive option that would prevent any server started by Playwright from terminating when the tests complete?
If I set
webServer.reuseExistingServertotrue, and the server is not running when I run Playwright, it starts the server for me usingwebServer.command.However, the server then seems to exit after the tests complete; this prevents me from navigating in the browser window to use the VSCode extension's "Pick locator" command, and means the server has to be started every time I run a test — making
reuseExistingServersomewhat irrelevant!Changing the way
reuseExistingServerworks is probably not ideal, as there is bound to be somebody who relies on the current behaviour, but could there be akeepServerAliveoption that would prevent any server started by Playwright from terminating when the tests complete?