Skip to content

Commit d0e8717

Browse files
committed
Merge pull request jakemmarsh#109 from reneolivo/change-browser-sync-stream-configuration
Remove {once: true} from browserSync.stream
2 parents 515a9ea + 4187f52 commit d0e8717

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

gulp/tasks/browserify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function buildScript(file) {
6666
}))))
6767
.pipe(gulpif(createSourcemap(), sourcemaps.write(sourceMapLocation)))
6868
.pipe(gulp.dest(config.scripts.dest))
69-
.pipe(browserSync.stream({ once: true }));
69+
.pipe(browserSync.stream());
7070
}
7171

7272
return rebundle();

gulp/tasks/fonts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ gulp.task('fonts', function() {
1010
return gulp.src(config.fonts.src)
1111
.pipe(changed(config.fonts.dest)) // Ignore unchanged files
1212
.pipe(gulp.dest(config.fonts.dest))
13-
.pipe(browserSync.stream({ once: true }));
13+
.pipe(browserSync.stream());
1414

1515
});

gulp/tasks/images.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ gulp.task('images', function() {
1313
.pipe(changed(config.images.dest)) // Ignore unchanged files
1414
.pipe(gulpif(global.isProd, imagemin())) // Optimize
1515
.pipe(gulp.dest(config.images.dest))
16-
.pipe(browserSync.stream({ once: true }));
16+
.pipe(browserSync.stream());
1717

18-
});
18+
});

gulp/tasks/styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ gulp.task('styles', function () {
2727
sourcemaps.write( global.isProd ? './' : null ))
2828
)
2929
.pipe(gulp.dest(config.styles.dest))
30-
.pipe(browserSync.stream({ once: true }));
30+
.pipe(browserSync.stream());
3131

3232
});

gulp/tasks/views.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ gulp.task('views', function() {
1818
standalone: true
1919
}))
2020
.pipe(gulp.dest(config.views.dest))
21-
.pipe(browserSync.stream({ once: true }));
21+
.pipe(browserSync.stream());
2222

23-
});
23+
});

0 commit comments

Comments
 (0)