summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-01-02 09:40:58 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-01-02 09:40:58 +0100
commitd36d71edd3b04df3b34edf4d108e3995a244c4f0 (patch)
tree533edb1dc89eb739547077adc1dcbf145c9e9fc4 /commands
parenta54fd7df215c1eccb2749e2becdec93766a7b77f (diff)
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
Diffstat (limited to 'commands')
-rw-r--r--commands/hugo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/hugo.go b/commands/hugo.go
index 743c5a267..7f0b6cd05 100644
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -132,6 +132,7 @@ Complete documentation is available at http://gohugo.io/.`,
if buildWatch {
c.Set("disableLiveReload", true)
}
+ c.Set("renderToMemory", renderToMemory)
return nil
}