Skip to content

Commit 533c93f

Browse files
committed
[cache components] add cache components indicator to dev start
1 parent f8f24aa commit 533c93f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/next/src/server/lib/start-server.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,17 +367,20 @@ export async function startServer(
367367
// Only load env and config in dev to for logging purposes
368368
let envInfo: string[] | undefined
369369
let experimentalFeatures: ConfiguredExperimentalFeature[] | undefined
370+
let cacheComponents: boolean | undefined
370371
try {
371372
if (isDev) {
372373
const startServerInfo = await getStartServerInfo({ dir, dev: isDev })
373374
envInfo = startServerInfo.envInfo
375+
cacheComponents = startServerInfo.cacheComponents
374376
experimentalFeatures = startServerInfo.experimentalFeatures
375377
}
376378
logStartInfo({
377379
networkUrl,
378380
appUrl,
379381
envInfo,
380382
experimentalFeatures,
383+
cacheComponents,
381384
logBundler: isDev,
382385
})
383386

0 commit comments

Comments
 (0)