mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Improve the server usage output
This commit is contained in:
parent
3bbd02a1ca
commit
a50133ff38
1 changed files with 8 additions and 4 deletions
|
@ -42,10 +42,14 @@ var disableLiveReload bool
|
|||
|
||||
var serverCmd = &cobra.Command{
|
||||
Use: "server",
|
||||
Short: "Hugo runs its own webserver to render the files",
|
||||
Long: `Hugo is able to run its own high performance web server.
|
||||
Hugo will render all the files defined in the source directory and
|
||||
serve them up.`,
|
||||
Short: "A high performance webserver",
|
||||
Long: `Hugo provides it's own webserver which builds and serves the site.
|
||||
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.
|
||||
|
||||
Often server is paired with '--watch' which Hugo will look for changes to the source and
|
||||
continously rebuild and serve the website.`,
|
||||
//Run: server,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue