lib/generators/katapult/basics/templates/Guardfile in katapult-0.2.0 vs lib/generators/katapult/basics/templates/Guardfile in katapult-0.3.0

- old
+ new

@@ -23,22 +23,10 @@ # # and, you'll have to watch "config/Guardfile" instead of "Guardfile" guard 'livereload' do watch %r{app/views/.+\.(erb|haml)$} - watch 'app/models/navigation.rb' # Navy watch 'app/models/power.rb' # Consul watch %r{app/helpers/.+\.rb} - watch %r{public/.+\.(css|js|html)} watch %r{config/locales/.+\.yml} watch %r{spec/javascripts/} # Jasmine - - # Rails Assets Pipeline - watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|sass|js|coffee|html|png|jpg))).*}) do |m| - filename = m[3] - # When a .sass (or .css.sass) file was changed, tell the client to load the .css version. - # Similarly, for .coffee / .js.coffee files we ask the client to reload the .js file. - filename.gsub! /(\.css)?\.sass$/, '.css' - filename.gsub! /(\.js)?\.coffee$/, '.js' - "/assets/#{filename}" - end end