       rule.targets = {}
 
   emitGroupOutput: (group, output)->
-    console.log "\x1b[31m", group, output, "\x1b[0m"
     (@groupRefs[group] = @groupRefs[group] || []).push output
-    console.log "\x1b[33m", @groupRefs, "\x1b[0m"
 
   ###
   # Generates templates for dependencies and outputs

      outputs: rule.templates.outputs.map processor
      auxOutputs: rule.templates.auxOutputs.map processor

    for group in rule.src.groups
      for output in rule.targets[input].outputs
        @emitGroupOutput group, output

###
# Make sure to always include `$1` in the replacement


module.exports = class MistResolver
  constructor: (@rootDir, @rootMist)->
    @groupRefs = {}

    @setupTargets()
