 #*------------------------------------*/
 gulp.task "font", () ->
   files = ['eot', 'woff', 'ttf', 'svg'].map (ext) ->
-    "#{conf.path.pvt.img}/**/*.#{ext}"
-
-  gulp.src(["#{conf.path.pvt.fnt}/**/*.#{exts[key]}"])
+    "#{conf.path.dev.img}/**/*.#{ext}"
+
+  gulp.src(["#{conf.path.dev.fnt}/**/*.#{exts[key]}"])
     .pipe cache(rev())
     .pipe remember()
-    .pipe gulp.dest(conf.path.pub.fnt)
+    .pipe gulp.dest(conf.path.prod.fnt)
     .pipe rev.manifest(conf.revManifest.path, conf.revManifest.opts)
     .pipe gulp.dest('./')
 

#    github.com/jamesknelson/gulp-rev-replace/issues/23
#*------------------------------------*/
gulp.task 'rev_replace', ["uglify", "minify", "font", "imagemin"], () ->
  manifest = require "./#{conf.path.pvt.assets}/rev-manifest.json"
  stream = gulp.src ["./#{conf.path.pub.css}/#{manifest['style.css']}"]

  Object.keys(manifest).reduce((stream, key) ->
    stream.pipe replace(key, manifest[key])
  , stream)
    .pipe gulp.dest("./#{conf.path.pub.css}")




#*------------------------------------*/
gulp.task 'imagemin', () ->
  files = ['jpg', 'jpeg', 'png', 'svg'].map (ext) ->
    "#{conf.path.dev.img}/**/*.#{ext}"

  return gulp.src([files])
    .pipe cache(imagemin {
