lib/guard/awestruct.rb in awestructx-0.4.1.x1 vs lib/guard/awestruct.rb in awestructx-0.4.1
- old
+ new
@@ -23,10 +23,10 @@
def run_all
end
def run_on_change(paths)
paths.each do |path|
- unless ( path =~ %r(#{File.basename( @engine.config.output_dir) }) || path =~ /.awestruct/ )
+ unless ( path =~ /_site/ )
@engine.generate_page_by_output_path( path )
end
end
end