mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-23 19:52:01 +00:00
Revert "Disable render-to-memory on Windows"
This reverts commit 91e0c2b1fe
.
This should now work.
This commit is contained in:
parent
91e0c2b1fe
commit
3f5ddd5242
1 changed files with 0 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue