     # Throw here maybe?
     console.error err  if err?
 
-    stream = gulp.src(entryPath, { read: false })
-      .pipe(browserify
+    stream = gulp.src entryPath, { read: false }
+      .pipe browserify
         transform   : ['coffeeify']
         extensions  : ['.coffee']
-        debug       : yes )
-      .pipe(gulpif useUglify, uglify())
-      .pipe(concat "kd.js")
-      .pipe(gulp.dest "playground/js")
-      .pipe(rename "kd.#{version}js")
-      .pipe(gulp.dest "#{buildDir}/js")
+        debug       : yes
+      .pipe gulpif useUglify, uglify()
+      .pipe concat "kd.js"
+      .pipe gulp.dest "playground/js"
+      .pipe rename "kd.#{version}js"
+      .pipe gulp.dest "#{buildDir}/js"
 
     stream.pipe(livereload())  if useLiveReload
 


gulp.task 'play', ->

  stream = gulp.src(ENTRY_PATH, { read: false })
    .pipe(browserify
      transform   : ['coffeeify']
      extensions  : ['.coffee']
      debug       : yes )
    .pipe(concat "main.js")
    .pipe(gulp.dest "playground/js")

  if useLiveReload
    stream.pipe(livereload())
    gulp.src('./playground/index.html').pipe(livereload())

gulp.task 'live', ->



gulp.task 'styles', ->

  stream = gulp.src STYLES_PATH
    .pipe stylus()
    .pipe concat "kd.css"
    .pipe gulpif useMinify, minifyCSS()
    .pipe gulp.dest "playground/css"
    .pipe rename "kd.#{version}css"
    .pipe gulp.dest "#{buildDir}/css"

  stream.pipe livereload()  if useLiveReload


gulp.task 'libs', ->

  stream = gulp.src LIBS
    # .pipe gulpif useUglify, uglify()
    .pipe uglify()
    .pipe concat "kd.libs.js"
    .pipe gulp.dest "playground/js"
    .pipe rename "kd.libs.#{version}js"
    .pipe gulp.dest "#{buildDir}/js"

  stream.pipe(livereload())  if useLiveReload

