diff --git a/hyde/generator.py b/hyde/generator.py index cc2e4f1..6977655 100644 --- a/hyde/generator.py +++ b/hyde/generator.py @@ -289,9 +289,9 @@ class Generator(object): logger.debug("No changes found. Skipping resource [%s]", resource) return logger.debug("Processing [%s]", resource) - self.update_deps(resource) with self.context_for_resource(resource) as context: if resource.source_file.is_text: + self.update_deps(resource) if resource.uses_template: logger.debug("Rendering [%s]", resource) try: