From 16c689189dbe23bbd9293006a782cf204a054bfa Mon Sep 17 00:00:00 2001 From: James Henry Date: Wed, 9 Mar 2022 18:17:08 +0400 Subject: [PATCH] fix(core): show static terminal output when NX_VERBOSE_LOGGING is enabled (#9248) --- packages/workspace/src/tasks-runner/run-command.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/workspace/src/tasks-runner/run-command.ts b/packages/workspace/src/tasks-runner/run-command.ts index 81d1ede39810c..b99532c15cc73 100644 --- a/packages/workspace/src/tasks-runner/run-command.ts +++ b/packages/workspace/src/tasks-runner/run-command.ts @@ -38,7 +38,9 @@ async function getTerminalOutputLifeCycle( overrides: Record, runnerOptions: any ): Promise<{ lifeCycle: LifeCycle; renderIsDone: Promise }> { - const showVerboseOutput = !!overrides.verbose; + const showVerboseOutput = + !!overrides.verbose || process.env.NX_VERBOSE_LOGGING === 'true'; + if (terminalOutputStrategy === 'run-one') { if ( shouldUseDynamicLifeCycle(tasks, runnerOptions) &&