 browserify     = require 'browserify'
 watchify       = require 'watchify'
 uglifyify      = require 'uglifyify'
+exorcist       = require 'exorcist'
 
 glob           = require 'glob'
 xtend          = require 'xtend'

  rev: null
  browserify:
    extensions: ['.coffee', '.js', '.json']
    # debug: true
  globals:
    config: {}
    appClasses: {}


  mapping = {}
  modules.forEach (name) -> mapping[name] = "../#{name}/lib"

  if devMode then opts.browserify.debug = true

  if watchMode
    b = watchify(browserify(xtend(opts.browserify, watchify.args)))
