 rename     = require 'gulp-rename'
 uglify     = require 'gulp-uglify'
 stylus     = require 'gulp-stylus'
-livereload = require 'gulp-livereload'
 concat     = require 'gulp-concat'
 minifyCSS  = require 'gulp-minify-css'
-karma      = require 'gulp-karma'
 rimraf     = require 'gulp-rimraf'
-markdox    = require 'gulp-markdox'
 fs         = require 'fs'
 http       = require 'http'
 argv       = require('minimist') process.argv
 source     = require 'vinyl-source-stream'
 gulpBuffer = require 'gulp-buffer'
-express    = require 'express'
 Promise    = require 'bluebird'
 exec       = Promise.promisify (require 'child_process').exec
 


gulp.task 'karma', ['coffee-test'], ->

  gulp.src testFiles
    .pipe karma
      configFile : 'karma.conf.js'
      action     : karmaAction

gulp.task 'sauce', ->
  gulp.src testFiles

  b.bundle()

watchLogger = (color, watcher) ->
  livereload = require 'gulp-livereload'
  server = livereload()  if useLiveReload
  watcher.on 'change', (event) ->
    log color, "file #{event.path} was #{event.type}"
