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

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

gulp.task '_copyResources', ['_cleanResources'], ->
  destDir = './dist/'
  gulp.src('./resources/images/**/*.svg')
    .pipe(flatten())
    .pipe(gulp.dest(destDir))

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

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

    ]
  connect.server(config)

