ref: d36d71edd3b04df3b34edf4d108e3995a244c4f0
parent: a54fd7df215c1eccb2749e2becdec93766a7b77f
author: Bjørn Erik Pedersen <[email protected]>
date: Tue Jan 2 04:40:58 EST 2018
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
--- a/commands/hugo.go
+++ b/commands/hugo.go
@@ -132,6 +132,7 @@
if buildWatch {
c.Set("disableLiveReload", true)
}
+ c.Set("renderToMemory", renderToMemory)
return nil
}