lib/marv/guard.rb in marv-0.2.5 vs lib/marv/guard.rb in marv-0.3.0
- old
+ new
@@ -41,12 +41,14 @@
watch(%r{#{source_path}/partials/*})
end
guard 'marvfunctions' do
watch(%r{#{source_path}/functions/*})
watch(%r{#{source_path}/includes/*})
- watch(%r{#{source_path}/extras/*})
end
+ guard 'marvfolders' do
+ watch(%r{#{source_path}/*})
+ end
}
if @project.config[:livereload]
guardfile_contents << %Q{
guard 'livereload' do
@@ -59,7 +61,8 @@
result = block.call(options, livereload)
guardfile_contents << result unless result.nil?
end
::Guard.start({ :guardfile_contents => guardfile_contents }).join
end
+
end
end