Skip to content

Commit

Permalink
fix(core): show static terminal output when NX_VERBOSE_LOGGING is ena…
Browse files Browse the repository at this point in the history
…bled (#9248)
  • Loading branch information
JamesHenry committed Mar 9, 2022
1 parent aac9b68 commit 16c6891
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/workspace/src/tasks-runner/run-command.ts
Expand Up @@ -38,7 +38,9 @@ async function getTerminalOutputLifeCycle(
overrides: Record<string, unknown>,
runnerOptions: any
): Promise<{ lifeCycle: LifeCycle; renderIsDone: Promise<void> }> {
const showVerboseOutput = !!overrides.verbose;
const showVerboseOutput =
!!overrides.verbose || process.env.NX_VERBOSE_LOGGING === 'true';

if (terminalOutputStrategy === 'run-one') {
if (
shouldUseDynamicLifeCycle(tasks, runnerOptions) &&
Expand Down

0 comments on commit 16c6891

Please sign in to comment.