Skip to content

Commit f4f0b17

Browse files
committed
close #772: use --renderToMemory by default for hugo server
1 parent 1d5fc7f commit f4f0b17

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: blogdown
33
Title: Create Blogs and Websites with R Markdown
4-
Version: 1.20.1
4+
Version: 1.20.2
55
Authors@R: c(
66
person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666")),
77
person("Christophe", "Dervieux", role = "aut", email = "cderv@posit.co", comment = c(ORCID = "0000-0003-4474-2498")),

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# CHANGES IN blogdown VERSION 1.21
22

3+
- Use the `--renderToMemory` flag by default for Hugo >= 0.123.0 when starting `hugo server` (thanks, @drmowinckels, #772). If you do not wish to use this flag by default, please see https://bookdown.org/yihui/blogdown/livereload.html on how to configure your own default flags for `hugo server`.
4+
35
# CHANGES IN blogdown VERSION 1.20
46

57
- Redirect the wowchemy themes to HugoBlox.

R/hugo.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,7 @@ hugo_server_args = function(host, port) {
709709
c(
710710
'server', '--bind', host, '-p', port, theme_flag(), get_option('blogdown.hugo.server', c(
711711
'-D', '-F', if (hugo_available('0.25')) '--navigateToChanged',
712+
if (hugo_available('0.123.0')) '--renderToMemory',
712713
if (is_rstudio_server()) c('--liveReloadPort', '443')
713714
))
714715
)

0 commit comments

Comments
 (0)