             if req.url.match(/\.ttf$/)
                 res.setHeader('Content-Type', 'application/octet-stream')
             next()
-            
+
     ]
   connect.server(config)
 

    './dist/tutor.min-*.js',
    './dist/tutor.min-*.css',
    './dist/fonts/*',
    './dist/*.svg'], {base: './dist'})
    .pipe(tar('archive.tar'))
    .pipe(gzip())
    .pipe(gulp.dest('./dist/'))

  del(['./dist/*.css'], done)

gulp.task '_copyResources', ['_cleanResources'], ->
  destDir = './dist/style/resources'
  baseDir = './resources/images'
  gulp.src("#{baseDir}/**/*.svg", base: baseDir)
    .pipe(gulp.dest(destDir))

gulp.task '_cleanResources', (done) ->
