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
- Build and serve a site while minifying supported output formats (HTML, XML, etc.):
hugo server --minify
- Build and serve a site in the production environment with full re-renders while minifying supported formats:
hugo server --disableFastRender --minify
- Display help:
hugo server
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
