Commit c491a834 authored by Luke Sandberg's avatar Luke Sandberg

change the process name of builds

parent f65b10a5
...@@ -36,6 +36,7 @@ export type NextBuildOptions = { ...@@ -36,6 +36,7 @@ export type NextBuildOptions = {
} }
const nextBuild = async (options: NextBuildOptions, directory?: string) => { const nextBuild = async (options: NextBuildOptions, directory?: string) => {
process.title = `next-build (v${process.env.__NEXT_VERSION})`
process.on('SIGTERM', () => { process.on('SIGTERM', () => {
saveCpuProfile() saveCpuProfile()
process.exit(143) process.exit(143)
......
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