commands: Update CLI docs vs server and production

Fixes #11067
This commit is contained in:
Bjørn Erik Pedersen 2023-06-05 11:53:14 +02:00
parent cf38c73f53
commit 5446900dee
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -512,8 +512,6 @@ func (c *serverCommand) Init(cd *simplecobra.Commandeer) error {
cmd.Short = "A high performance webserver" cmd.Short = "A high performance webserver"
cmd.Long = `Hugo provides its own webserver which builds and serves the site. cmd.Long = `Hugo provides its own webserver which builds and serves the site.
While hugo server is high performance, it is a webserver with limited options. While hugo server is high performance, it is a webserver with limited options.
Many run it in production, but the standard behavior is for people to use it
in development and use a more full featured server such as Nginx or Caddy.
'hugo server' will avoid writing the rendered and served content to disk, 'hugo server' will avoid writing the rendered and served content to disk,
preferring to store it in memory. preferring to store it in memory.