1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 10:02:10 +02:00
tldr/pages/common/hugo-server.md
Nelson Figueroa 3cfa42366d
hugo-server: add page (#13610)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2024-09-06 18:56:36 +02:00

418 B

hugo server

Build and serve a site with Hugo's built-in webserver. More information: https://gohugo.io/commands/hugo_server/.

  • 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