lib/nanoc/base/services/compiler_loader.rb in nanoc-4.4.4 vs lib/nanoc/base/services/compiler_loader.rb in nanoc-4.4.5
- old
+ new
@@ -5,11 +5,13 @@
rule_memory_store = Nanoc::Int::RuleMemoryStore.new(env_name: site.config.env_name)
dependency_store =
Nanoc::Int::DependencyStore.new(site.items.to_a + site.layouts.to_a, env_name: site.config.env_name)
+ objects = site.items.to_a + site.layouts.to_a + site.code_snippets + [site.config]
+
checksum_store =
- Nanoc::Int::ChecksumStore.new(site: site)
+ Nanoc::Int::ChecksumStore.new(site: site, objects: objects)
item_rep_repo = Nanoc::Int::ItemRepRepo.new
action_provider ||= Nanoc::Int::ActionProvider.named(:rule_dsl).for(site)