Skip to content

Commit

Permalink
Merge branch 'canary' into ah100101/add-cms-sitecore-xmcloud-example
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk authored Aug 27, 2023
2 parents 25a1a72 + 52e0b1d commit 93dd055
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/next/src/server/lib/start-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ import {
import { checkIsNodeDebugging } from './is-node-debugging'
const debug = setupDebug('next:start-server')

if (process.env.NEXT_CPU_PROF) {
process.env.__NEXT_PRIVATE_CPU_PROFILE = `CPU.router`
require('./cpu-profile')
}

export interface StartServerOptions {
dir: string
port: number
Expand Down

0 comments on commit 93dd055

Please sign in to comment.