ref: a50133ff3860fe2b9a31e7f0da844a470bc50a84
parent: 3bbd02a1ca4338dfe4cd1306ba14513e215b8a6d
author: spf13 <[email protected]>
date: Thu Nov 12 05:23:41 EST 2015
Improve the server usage output
--- a/commands/server.go
+++ b/commands/server.go
@@ -42,10 +42,14 @@
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,
}