         return {"title":data[path]["title"],"keyword":data[path]["keyword"],"disc":data[path]["disc"],"path":path}
       else
         return {"title":null,"keyword":null,"desc":null}
-  ))
-  .pipe(jade(
-    pretty: true
-  )).pipe gulp.dest(pkg.settings.dist)
+
+  .pipe(jade(pretty: true))
+  .pipe gulp.dest pkg.settings.dist
+  .on 'end' , reload
 
 
 

    }))
    .pipe gulp.dest pkg.settings.dist+'images'
    .pipe gulp.dest pkg.name+'/www/wordpress/wp-content/themes/'+pkg.name+'/images'
    .pipe($.size({title: 'images'}));

gulp.task "clear", (i_done) ->
  return $.cache.clearAll(i_done);

  .pipe buffer()
  # .pipe $.uglify()
  .pipe gulp.dest pkg.settings.dist+"js/" # Output directory
  .on 'end' , reload



