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

      baseDir: paths.buildDir


gulp.task 'build', ['copyPhaserFiles', 'coffeeify', 'copyHtml', 'copyAssets', 'watchChanges'], ->

  gulp
    .src "#{paths.buildDir}/**/*"
    .pipe plugins.size
      title : 'build'
      gzip  : true


gulp.task 'default', ['clean'], ->

plugins        = require('gulp-load-plugins')()
browserify     = require 'browserify'
browserSync    = require 'browser-sync'


paths =
