Guardfile in partystreusel-1.0.6 vs Guardfile in partystreusel-1.0.7
- old
+ new
@@ -6,5 +6,15 @@
watch(%r{spec/javascripts/.+_spec\.(js\.coffee|js|coffee)$})
watch(%r{spec/javascripts/fixtures/.+$})
watch(%r{app/assets/stylesheets/.+$})
watch(%r{app/assets/javascripts/(.+?)\.(js\.coffee|js|coffee)(?:\.\w+)*$}) { |m| "spec/javascripts/#{ m[1] }_spec.#{ m[2] }" }
end
+
+
+# verify that application Javascript files are lintable
+# see https://github.com/psionides/jslint_on_rails
+guard 'jslint-on-rails' do
+ # watch for changes to application javascript files
+ watch(%r{^app/assets/javascripts/.*\.js$})
+ # watch for changes to the JSLint configuration
+ watch('config/jslint.yml')
+end