Entire site is rebuilt when making changes (original) (raw)
I noticed that the entire site seems to be rebuilt whenever I make changes to a file. For instance, the entire site takes 20 seconds to build when I start ./go serve
; yet the following actions seem to take another 20 seconds to regenerate the site:
- Making a minor edit to a SASS file;
- Making a minor edit to a Markdown post.
This is surprising, since ./go serve
runs jekyll with incremental build enabled. I did notice that config.yml
contains the line full_rebuild: true
, but commenting it out doesn't seem to change anything.
I can reduce the time to about 8 seconds by running jekyll serve --incremental --limit_posts 5
, but I'm not sure where that 8 seconds comes from. Will do some profiling to investigate more!