 uglify = heap.require('gulp-uglify')
 coffeeify = require('coffeeify')
 browserify = heap.convert((opts) -> require('browserify')(opts).transform(coffeeify).bundle()).toTask()
+{Server} = require('karma')
 
 
 coffeeSource = './src/**/*.coffee'
 browserifyEntry = './src/bundle.coffee'
 testSource = './test/**/*.spec.coffee'
-benchmarkSource = './test/**/*.benchmark.coffee'
+benchmarkSource = './test/**/*quantizer.benchmark.coffee'
 dst = './lib/'
 dist = './dist/'
 

  gulp.watch [coffeeSource, testSource], ['test']

gulp.task 'default', ['coffee', 'browser']


mochaOpts =
  grep: cli.opts['only']

karmaOpts =
  configFile: __dirname + '/karma.conf.coffee'
  singleRun: true

gulp.task 'coffee', coffee(coffeeSource, dst, {bare: true})

