Fixes livereload

If the environment is development -> try loading the livereload client
being served by `gulp watch`
This commit is contained in:
Austin Pray
2015-01-24 13:17:11 -06:00
parent c95261e8a8
commit d5d2d02459
2 changed files with 13 additions and 10 deletions

View File

@@ -118,13 +118,11 @@ var jsTasks = function(filename) {
var writeToManifest = function(directory) {
return lazypipe()
.pipe(gulp.dest, path.dist + directory)
.pipe(require('gulp-debug'))
.pipe($.livereload)
.pipe($.rev.manifest, revManifest, {
base: path.dist,
merge: true
})
.pipe(require('gulp-debug'))
.pipe(gulp.dest, path.dist)();
};