   <% if (precompilerCoffee || precompilerJade) { %>changedFiles = {}
   onChange = grunt.util._.debounce () ->
     <% if (precompilerCoffee) { %>changedCoffeeFiles = changedFiles['coffee']
-    <% } %><% if (precompilerJade) { %>changedJadeFiles = changedFiles['jade']<% } %>
+    <% } %><% if (precompilerJade) { %>changedJadeFiles = changedFiles['jade']
+    <% } %><% if (precompilerJS) { %>changedJSFiles = changedFiles['js']<% } %>
 
     <% if (precompilerCoffee) { %>if changedCoffeeFiles
       grunt.config 'coffeelint.all', changedCoffeeFiles

        '<%%= compass.dev.options.sassDir %>/**/*.scss'
      <% } %>]
      tasks: [
        'compass:dev'
      ]
    <% } %>css:
      files: [
        'assets/css/*.css'

    if changedJadeFiles
      grunt.config 'jade.dev.files',
        './': changedJadeFiles
    <% } %><% if (precompilerJS) { %>if changedJSFiles
      grunt.config 'jshint.all', changedJSFiles
      grunt.config 'jscs.src', changedJSFiles
    <% } %>
    changedFiles = {}
  , 200
