 
 gulp.task 'coffeeify', ->
 
-  bundledStream = browserify.bundle()
+  b = browserify
     entries    : "#{paths.appScripts}/game.coffee"
     debug      : on
     transform  : ['coffeeify']
     extensions : ['.coffee']
 
-  bundledStream
+  b.bundle()
     .pipe source "#{paths.appScripts}/game.coffee"
     .pipe buffer()
     .pipe plugins.rename 'game.js'

plugins        = require('gulp-load-plugins')()
browserify     = require 'browserify'
browserSync    = require 'browser-sync'
mainBowerFiles = require 'main-bower-files'


paths =

    return  unless event is 'deleted'
    # replacing app folder with build
    path = path.replace '/app/', '/build/'
    # deleting the file from build directory
    del [path], ->


