 compilePistachios = require 'pistachio-compiler'
 ProgressBar       = require 'progress'
 SourceMap         = require 'source-map'
+base64VLQ         = require 'source-map/lib/source-map/base64-vlq'
 Stylus            = require 'stylus'
 UglifyJS          = require 'uglify-js'
 

      log.info "Watching for changes..." if initial
      setTimeout =>
        @compileChanged options, false
      , 1000

  readIncludesFile: ->
    includesFile = @config.client.includesPath + "/includes.coffee"

        stream = UglifyJS.OutputStream source_map: uglifiedSourceMap
        ast.print stream
        file.content = stream.toString()
        sourceMapJSON = uglifiedSourceMap.toString()
        fs.writeFileSync file.sourceMapPath, sourceMapJSON, "utf8"
        file.sourceMap = new SourceMap.SourceMapConsumer(sourceMapJSON)._generatedMappings
      when ".styl"
        Stylus(source).set('compress',true).use(nib()).render (err, css)=> # callback is synchronous
          log.error "error with styl file at #{file.includePath}" if err
