         compile_config()
 
     if target is 'coffeeFileDeleted'
-      grunt.config('clean.files', compiled_file)
+      grunt.config('clean.tmp', compiled_file)
       compile_config() if (/^test\/spec\//).test relative_path
 
     grunt.config("#{coffee_task}.src", coffee_files)

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



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

    copy:
      source:
