     }
 ]
 
+{host, port} = {host:'localhost', port:8000}
+
 coffeePipeline = (src, dest) ->
     ->
         gulp.src src

            .pipe sourcemaps.write()
            .pipe gulp.dest dest

gulp.task 'coffee-app', coffeePipeline.apply(null, ios.of 'app')

gulp.task 'coffee-spec', coffeePipeline.apply(null, ios.of 'spec')

gulp.task 'sass', ->
    gulp.src(ios.src 'sass')
        .pipe plumber(errorHandler: notify.onError '<%= error.message %>')
        .pipe sass()
        .pipe gulp.dest(ios.dest 'sass')

gulp.task 'build', ['coffee-app','coffee-spec', 'sass']

gulp.task 'webserver', ->
    gulp.src('./')
        .pipe webserver {livereload: true}

gulp.task 'default', ['build']

gulp.task 'dev', ['build','webserver'], ->
    gulp.watch ios.src(), ['build']

notify     = require 'gulp-notify'
sourcemaps = require 'gulp-sourcemaps'
webserver  = require 'gulp-webserver'
exec       = require 'gulp-exec'
_          = require 'underscore'

class FileIOs
    constructor: (data) ->
        unless data instanceof Array
            throw new Error 'constructor reqire Array.'
