mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-29 22:09:57 -05:00
parent
4679fbee41
commit
91e0c2b1fe
1 changed files with 5 additions and 0 deletions
|
@ -137,6 +137,11 @@ func server(cmd *cobra.Command, args []string) {
|
||||||
renderToDisk = true
|
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
|
// Hugo writes the output to memory instead of the disk
|
||||||
if !renderToDisk {
|
if !renderToDisk {
|
||||||
hugofs.DestinationFS = new(afero.MemMapFs)
|
hugofs.DestinationFS = new(afero.MemMapFs)
|
||||||
|
|
Loading…
Reference in a new issue