From d9b12bc090aa0b275a764eabb0c8482ef7881f99 Mon Sep 17 00:00:00 2001 From: Alfred Xing Date: Mon, 26 Oct 2015 13:37:47 -0700 Subject: [PATCH] Disable incremental regeneration by default in Jekyll 3.0 Disable the feature as it's still not 100% working 100% of the time. Feature can be re-enabled by specifying `full_rebuild: false` in the configuration --- lib/jekyll/configuration.rb | 2 +- test/test_regenerator.rb | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/jekyll/configuration.rb b/lib/jekyll/configuration.rb index ee05e8bc..04f7dac2 100644 --- a/lib/jekyll/configuration.rb +++ b/lib/jekyll/configuration.rb @@ -22,7 +22,7 @@ module Jekyll 'keep_files' => ['.git','.svn'], 'encoding' => 'utf-8', 'markdown_ext' => 'markdown,mkdown,mkdn,mkd,md', - 'full_rebuild' => false, + 'full_rebuild' => true, # Filtering Content 'show_drafts' => nil, diff --git a/test/test_regenerator.rb b/test/test_regenerator.rb index 6e2ce477..d74c14d5 100644 --- a/test/test_regenerator.rb +++ b/test/test_regenerator.rb @@ -130,7 +130,8 @@ class TestRegenerator < JekyllUnitTest @site = Site.new(Jekyll.configuration({ "source" => source_dir, - "destination" => dest_dir + "destination" => dest_dir, + "full_rebuild" => false })) @site.process