   b.bundle bundleOptions
 
 watchLogger = (color, watcher) ->
+  server = livereload()  if useLiveReload
   watcher.on 'change', (event) ->
     log color, "file #{event.path} was #{event.type}"
-
-liveReload = (stream)-> stream.pipe livereload()  if useLiveReload
+    server?.changed event.path
+
+createServer  = no
+buildDir      = argv.outputDir ? 'build'
+version       = if argv.buildVersion then "#{argv.buildVersion}." else ''
+useLiveReload = checkParam argv.liveReload
+useUglify     = checkParam argv.uglify
+useMinify     = checkParam argv.minify
+karmaAction   = 'watch'
+buildDocs     = checkParam argv.docs
+buildPlay     = checkParam argv.play
 
 
 # Build Tasks

      entries : ['./playground/main.coffee']
    .pipe source "main.js"
    .pipe gulp.dest "playground/js"
    .pipe gulpif useLiveReload, livereload()


gulp.task 'play', ['clean-play', 'play-html', 'play-styles', 'play-coffee'], ->

TEST_PATH     = ['./src/**/*.test.coffee']
LIBS          = require './src/lib.includes.coffee'

# Helpers

checkParam = (param) -> !(param in ['0', 0, no, 'false', 'no', 'off', '', undefined, null])

log = (color, message) ->
  gutil.log gutil.colors[color] message
