Skip to content

Commit

Permalink
Watch extension and skin directory for change
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelbernard committed Aug 7, 2011
1 parent bda5e56 commit 5481382
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/awestruct/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ def load_extensions
pipeline = eval File.read( pipeline_file )
@helpers = pipeline.helpers || []
@transformers = pipeline.transformers || []
check_dir_for_change([ext_dir.to_s])
end

if ( skin_dir )
Expand All @@ -402,6 +403,7 @@ def load_extensions
skin_pipeline = eval File.read( skin_pipeline_file )
@helpers = ( @helpers + skin_pipeline.helpers || [] ).flatten
@transformers = ( @transformers + skin_pipeline.transformers || [] ).flatten
check_dir_for_change([skin_dir.to_s])
end
end

Expand Down

0 comments on commit 5481382

Please sign in to comment.