http-server icon indicating copy to clipboard operation
http-server copied to clipboard

Feature request: show server settings info at start

Open pintux opened this issue 7 years ago • 2 comments

Do you want to request a feature or report a bug? feature

If the issue is a bug report, please provide the steps to reproduce it. Please include the actual command causing the issue if applicable.

What did you expect to happen?

What actually happened? Please include the actual error trace and / or stack trace if applicable.

If the issue is a feature request, what is the motivation / use case for it? It would be nice to have a minimal recap of the server settings / options passed when server starts. For example, for a command like the following:

http-server -c-1 --cors

At start, it could be nice to have an output like the following:

Starting up http-server, serving ./
CORS enabled
Cache disabled

Available on:
  http://127.0.0.1:8081
  http://172.20.10.2:8081
  http://172.20.10.4:8081

Tell us about your environment

  • http-server version:
  • Platform:

Other information (related issues, suggestions for a fix, etc):

pintux avatar May 16 '19 10:05 pintux

Can I take this up?

kmjayadeep avatar Sep 30 '19 09:09 kmjayadeep

I'd like to tackle this if its still outstanding. Looks like the available IPs/ports are being logged, but the options aren't.

ColtonHerrod avatar Sep 13 '20 17:09 ColtonHerrod