mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
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
This commit is contained in:
parent
a54fd7df21
commit
d36d71edd3
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ Complete documentation is available at http://gohugo.io/.`,
|
|||
if buildWatch {
|
||||
c.Set("disableLiveReload", true)
|
||||
}
|
||||
c.Set("renderToMemory", renderToMemory)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue