Skip to content

Commit

Permalink
commands: Fix broken hugo --renderToMemory
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bep committed Jan 2, 2018
1 parent a54fd7d commit d36d71e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/hugo.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ Complete documentation is available at http://gohugo.io/.`,
if buildWatch {
c.Set("disableLiveReload", true)
}
c.Set("renderToMemory", renderToMemory)
return nil
}

Expand Down

0 comments on commit d36d71e

Please sign in to comment.