diff --git a/packages/next/src/executors/server/server.impl.ts b/packages/next/src/executors/server/server.impl.ts index 8e65b6a4956ce..78e06255ad43b 100644 --- a/packages/next/src/executors/server/server.impl.ts +++ b/packages/next/src/executors/server/server.impl.ts @@ -48,7 +48,7 @@ export default async function* serveExecutor( const args = createCliOptions({ port, hostname }); if (keepAliveTimeout && !options.dev) { - args.push('--keepAliveTimeout', `${keepAliveTimeout}`); + args.push(`--keepAliveTimeout=${keepAliveTimeout}`); } const nextDir = resolve(context.root, buildOptions.outputPath);