diff --git a/pages/common/hugo-server.md b/pages/common/hugo-server.md new file mode 100644 index 000000000..44f39660d --- /dev/null +++ b/pages/common/hugo-server.md @@ -0,0 +1,20 @@ +# hugo server + +> Build and serve a site with Hugo's built-in webserver. +> More information: . + +- Build and serve a site: + +`hugo server` + +- Build and serve a site on a specified port number: + +`hugo server --port {{port_number}}` + +- Build and serve a site while minifying supported output formats (HTML, XML, etc.): + +`hugo server --minify` + +- Display help: + +`hugo server --help`