           compiled = result
         unless compiled?
           throw new Error "Brunch SourceFile: file #{path} data is invalid"
-        debug "getDependencies '#{path}' with '#{compilerName}'"
         getDependencies source, path, compiler, (error, dependencies) =>
           return callback throwError 'Dependency parsing', error if error?
           next null, {dependencies, compiled, source, sourceMap, path}

compile = (initialData, path, compilers, callback) ->
  ext = sysPath.extname(path).slice(1)
  compile.chain[ext] ?= compilers.map (compiler) =>
    compilerName = compiler.constructor.name
    (params, next) =>
      return next() unless params
      {dependencies, compiled, source, sourceMap, path} = params
      debug "Compiling '#{path}' with '#{compilerName}'"

      compilerData = compiled or source
      compilerArgs = if compiler.compile.length is 2

# Extract files that depend on current file.
getDependencies = (data, path, compiler, callback) ->
  if compiler.getDependencies
    debug "getDependencies '#{path}' with '#{compiler.constructor.name}'"
    compiler.getDependencies data, path, callback
  else
    callback null, []
