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

#    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}")




  db_env = "db_#{env}"

  shell [
    "mysqldump --host=#{secrets[db_env].host}
      --user=#{secrets[db_env].user}
      --password=#{secrets[db_env].pass}
       #{secrets[db_env].name} > ./database/#{env}/db_#{env}-#{date.format('YYYY-MM-DD-HH-mm-ss')}.sql"
  ]

gulp.task "db_dump:dev", () ->
