From: Bjørn Erik Pedersen Date: Thu, 19 Nov 2015 18:48:40 +0000 (+0100) Subject: Revert "Disable render-to-memory on Windows" X-Git-Tag: v0.15~44 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3f5ddd52;p=brevno-suite%2Fhugo Revert "Disable render-to-memory on Windows" This reverts commit 91e0c2b1feb2a7a1b074784a41249139b2fae975. This should now work. --- diff --git a/commands/server.go b/commands/server.go index 07b4e8e7..7c0ef78d 100644 --- 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)