Browse Source

update dependencies only when the resource is a text file

main
Lakshmi Vyasarajan 13 years ago
parent
commit
d3435602df
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hyde/generator.py

+ 1
- 1
hyde/generator.py View File

@@ -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:


Loading…
Cancel
Save