Unverified Commit 866b4181 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Add Next.js version to process title (#63686)

Makes debugging a little easier by showing the Next.js version in the
process title as well.

x-ref: [slack
thread](https://vercel.slack.com/archives/C03KAR5DCKC/p1711401562557429?thread_ts=1711400819.248569&cid=C03KAR5DCKC)

Closes NEXT-2924
parent cd46c221
...@@ -91,7 +91,7 @@ export async function startServer( ...@@ -91,7 +91,7 @@ export async function startServer(
} = serverOptions } = serverOptions
let { port } = serverOptions let { port } = serverOptions
process.title = 'next-server' process.title = `next-server (v${process.env.__NEXT_VERSION})`
let handlersReady = () => {} let handlersReady = () => {}
let handlersError = () => {} let handlersError = () => {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment