Skip to content

Commit

Permalink
Merge pull request #23133 from syabro/disable-dev-info-table-with-quiet
Browse files Browse the repository at this point in the history
CLI: Suppress dev-server info table when `--quiet` is true
  • Loading branch information
ndelangen authored Jun 21, 2023
2 parents a8c1570 + 0a19a9b commit ed10589
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions code/lib/core-server/src/build-dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,17 @@ export async function buildDevStandalone(
? frameworkName.split('@storybook/')[1]
: frameworkName;

outputStartupInformation({
updateInfo: versionCheck,
version,
name,
address,
networkAddress,
managerTotalTime,
previewTotalTime,
});
if (!options.quiet) {
outputStartupInformation({
updateInfo: versionCheck,
version,
name,
address,
networkAddress,
managerTotalTime,
previewTotalTime,
});
}
}
return { port, address, networkAddress };
}

0 comments on commit ed10589

Please sign in to comment.