Skip to content

Commit d36d71e

Browse files
committed
commands: Fix broken hugo --renderToMemory
The `--renderToMemory` flag stopped working on `hugo` in 0.32. Note that this is only useful for benchmark testing, as there is no easy way to actually view the result. Fixes #4212
1 parent a54fd7d commit d36d71e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎commands/hugo.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ Complete documentation is available at http://gohugo.io/.`,
132132
if buildWatch {
133133
c.Set("disableLiveReload", true)
134134
}
135+
c.Set("renderToMemory", renderToMemory)
135136
return nil
136137
}
137138

0 commit comments

Comments
 (0)