mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-13 20:24:00 +02:00
@@ -116,6 +116,7 @@ var serverPorts []int
|
||||
|
||||
func server(cmd *cobra.Command, args []string) error {
|
||||
// If a Destination is provided via flag write to disk
|
||||
destination, _ := cmd.Flags().GetString("destination")
|
||||
if destination != "" {
|
||||
renderToDisk = true
|
||||
}
|
||||
|
Reference in New Issue
Block a user