     @on 'change', @_change
     @on 'unlink', @_unlink
     @compiling = []
+    @compiled = []
     @copying = []
 
   getAssetErrors: ->

        dependent.dependencies.length > 0
      .filter (dependent) =>
        path in dependent.dependencies
      .forEach(@compile)

  compile: (file) =>
    @compiling.push(file)
    file.compile (error) =>
      @compiling.splice @compiling.indexOf(file), 1
      @resetTimer()
      return if error?
      debug "Compiled file '#{file.path}'"
      @compileDependentFiles file.path

  copy: (asset) =>
    @copying.push asset


      if @compiling.length is 0 and @copying.length is 0
        @emit 'ready'
        @compiled = []
      else
        @resetTimer()
    , @RESET_TIME
