You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages.es/common/hugo-server.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,16 +9,16 @@
9
9
10
10
- Construye y publica un sitio en un número de puerto especificado:
11
11
12
-
`hugo server --port {{número_de_puerto}}`
12
+
`hugo server {{[-p|--port]}} {{número_de_puerto}}`
13
13
14
14
- Construye y publica un sitio mientras se minimizan los formatos de salida soportados (HTML, XML, etc.):
15
15
16
16
`hugo server --minify`
17
17
18
18
- Construye y sirve un sitio en el entorno de producción con reconstrucción completa (re-render) disminuyendo el tamaño (minify) en los formatos soportados:
19
19
20
-
`hugo server --environment {{producción}} --disableFastRender --minify`
20
+
`hugo server {{[-e|--environment]}} {{producción}} --disableFastRender --minify`
0 commit comments