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
Request logging CLI option reported as unknown #744
Comments
Oops yes it is missing, let me fix that :) |
When this will be fixed? @gamemaker1 |
A PR is already open to address this - #742 |
Can somebody please merge #742 ? We use serve in our pipelines and our build logs are now flooded with log messages. It seems weird that people are apparently forking this project to fix the issue when this PR could just be approved... |
Thank you for opening the issue, the PR with the fix #742 has been merged and is part of the latest release 14.1.2 |
Description
the CLI utility lists a "--no-request-logging" option (shorthand "-L") in its "--help" output, which does not work. The CLI fails to start and reports the parameter as unknown if it's present on the command line:
npx serve@14.1.1 --no-request-logging dist/
error:
looks like the option is only present in the static help text in
serve/source/utilities/cli.ts
Line 47 in aa4a827
serve/source/utilities/cli.ts
Line 146 in aa4a827
Library version
14.1.1
Node version
v16.18.1
The text was updated successfully, but these errors were encountered: