       .pipe gulp.dest "./build/js"
 
 gulp.task "js:sidenav:ref", ->
-  return gulp.src "./templates/includes/js.jade", {base: "./"}
+  return gulp.src "./templates/includes/js.jade"
           .pipe rev_replace( { manifest: gulp.src("assets/rev_manifest/rev-manifest.json"), replaceInExtensions: ['.jade']} )
           .pipe gulp.dest "./"
     

        .pipe gulp.dest "./build/js"

gulp.task "js:coffee:ref", ->
  return gulp.src "./templates/includes/js.jade", {base: "./"}
          .pipe rev_replace( { manifest: gulp.src("assets/rev_manifest/rev-manifest.json"), replaceInExtensions: ['.jade']} )
          .pipe gulp.dest "./"
  

  gulp.watch "./assets/stylus/**/*.styl", ['css:preview']


gulp.task "build:clean", ->
  return gulp.src('./build',{read:false})
          .pipe(clean())

