 
 gulp.task 'watch-server', -> watchLogger 'cyan', gulp.watch SERVER_PATH, ['serve']
 
-gulp.task 'styles', ['sprites'], ->
+compileStyles = ->
 
   gulp.src STYLES_PATH
     .pipe stylus

  gulp.src [BUILD_PATH], read: no
    .pipe rimraf force: yes

gulp.task 'build', ['styles', 'coffee', 'index']

watchersArray = [
  'watch-styles'

    .pipe rename 'main.css'
    .pipe livereload()
    .pipe gulp.dest "#{BUILD_PATH}/css"


gulp.task 'styles-only', -> compileStyles()

gulp.task 'styles', ['sprites'], -> compileStyles()



gulp.task 'sprites', ['sprites@1x', 'sprites@2x'], ->
