diff --git a/packages/jest-dev-server/src/global.js b/packages/jest-dev-server/src/global.js index af732899..cb4809a0 100644 --- a/packages/jest-dev-server/src/global.js +++ b/packages/jest-dev-server/src/global.js @@ -133,9 +133,11 @@ export async function setup(config) { ) } } + } - runServer(config) + runServer(config) + if (config.port) { const { launchTimeout } = config let timeout