           event: ['added', 'changed']
       coffeeFileDeleted:
         files: "**/*.coffee"
-        tasks: ["clean", "coffee", "process", "mocha"]
+        tasks: ["clean:tmp", "coffee", "process", "mocha"]
         options:
           event: ['deleted']
 


    # Task configuration.
    clean:
      files: ["dist", "<%= dir.tmp %>"]

    copy:
      source:

    grunt.task.run('git-describe')

  grunt.registerTask "initCustomSinon", ["concat:initCustomSinon"]
  grunt.registerTask "compileTest", ["amdwrap:compile", "wrap:test", "process"]

  grunt.registerTask "default", ["test"]
  grunt.registerTask "compile", ["clean:tmp", "coffee", "copy", "initCustomSinon"]
  grunt.registerTask "build", ["clean:dist", "compile", "requirejs", "wrap:dist", "usebanner"]

  grunt.registerTask "start", ["compile", "compileTest", "watch"]
  grunt.registerTask "start:browser", ["connect:development", "start"]

  grunt.registerTask "test", ["compile", "compileTest", "mocha"]
