fix(swc): support silent mode for running log#3295
Merged
kamilmysliwiec merged 1 commit intonestjs:v12.0.0from Apr 7, 2026
Merged
fix(swc): support silent mode for running log#3295kamilmysliwiec merged 1 commit intonestjs:v12.0.0from
kamilmysliwiec merged 1 commit intonestjs:v12.0.0from
Conversation
micalevisk
approved these changes
Mar 29, 2026
Author
|
Thanks for the approval. Since this still needs merge access, could @kamilmysliwiec please take a look when possible? |
Member
|
Could you rebase it to v12.0.0 branch? |
Add a --silent option to build/start commands and pass it to the SWC compiler extras. Suppress the SWC 'Running...' status line when silent mode is enabled or npm_config_loglevel is set to silent. Also adds unit tests for the new SWC logging gate behavior. Refs nestjs#3164
5043675 to
880d8b8
Compare
Author
|
Rebased to v12.0.0. @kamilmysliwiec could you please review? Happy to make any further changes. |
Member
|
lgtm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a --silent option to build/start commands and pass it to the SWC compiler extras.
Suppress the SWC 'Running...' status line when silent mode is enabled or npm_config_loglevel is set to silent.
Also adds unit tests for the new SWC logging gate behavior.
Refs #3164
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
When SWC is used, the CLI always prints > SWC Running..., which makes stdout noisy and can break piping workflows expecting clean output.
Issue Number: #3164
What is the new behavior?
Added --silent option to nest build and nest start
Passed silent into SWC compiler extras
Suppressed SWC Running... status log when:
Default behavior remains unchanged when silent mode is not enabled
Does this PR introduce a breaking change?
Other information
Other information
Validation:
Added unit tests in: