Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore silent mode #780

Closed
minimit opened this issue Aug 9, 2023 · 2 comments
Closed

Restore silent mode #780

minimit opened this issue Aug 9, 2023 · 2 comments

Comments

@minimit
Copy link

minimit commented Aug 9, 2023

Description

The --silent option is gone from the console command, also in --help.

Can you consider re-adding it? see #118

Why

For cypress tests, can't see the test on console it's full of serve outputs

Alternatives

There are no alternative, I'm using nextjs 13 with output: 'export', and I need this package to serve the website

@Vovencia
Copy link

You can use the "--no-request-logging" flag
It disables console output:
Example command (windows): SET NODE_ENV=production&& serve --no-request-logging .

Using "NODE_ENV=production" simplifies the initial output to the console:
image


Вы можете использовать флаг "--no-request-logging"
Он отключает вывод в консоль

Использование "NODE_ENV=production" упрощает начальный вывод в консоль

@minimit
Copy link
Author

minimit commented Aug 28, 2023

Thanks

@minimit minimit closed this as completed Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants