chore(test-runner): correct warning instruction for port reuse (#12479)
This commit is contained in:
parent
279e579097
commit
dd83ece3cb
|
|
@ -58,7 +58,7 @@ export class WebServer {
|
||||||
if (isAlreadyAvailable) {
|
if (isAlreadyAvailable) {
|
||||||
if (this.config.reuseExistingServer)
|
if (this.config.reuseExistingServer)
|
||||||
return;
|
return;
|
||||||
throw new Error(`${this.config.url ?? `http://localhost:${this.config.port}`} is already used, make sure that nothing is running on the port/url or set strict:false in config.webServer.`);
|
throw new Error(`${this.config.url ?? `http://localhost:${this.config.port}`} is already used, make sure that nothing is running on the port/url or set reuseExistingServer:true in config.webServer.`);
|
||||||
}
|
}
|
||||||
|
|
||||||
const { launchedProcess, kill } = await launchProcess({
|
const { launchedProcess, kill } = await launchProcess({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue