commit 3f5ddd5242bd8aee2f2aa85c44fa77184e9a61c0
parent 91e0c2b1feb2a7a1b074784a41249139b2fae975
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date: Thu, 19 Nov 2015 19:48:40 +0100
Revert "Disable render-to-memory on Windows"
This reverts commit 91e0c2b1feb2a7a1b074784a41249139b2fae975.
This should now work.
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/commands/server.go b/commands/server.go
@@ -137,11 +137,6 @@ func server(cmd *cobra.Command, args []string) {
renderToDisk = true
}
- if !renderToDisk && runtime.GOOS == "windows" {
- jww.ERROR.Println("Render to memory currently not supported in Windows, see https://github.com/spf13/hugo/issues/1586")
- renderToDisk = true
- }
-
// Hugo writes the output to memory instead of the disk
if !renderToDisk {
hugofs.DestinationFS = new(afero.MemMapFs)