Skip to content

Commit

Permalink
Merge pull request #89 from ryuran/fix/browsersync
Browse files Browse the repository at this point in the history
Fix #59 improve browsersync asynchrone reload
  • Loading branch information
ryuran authored Jan 20, 2017
2 parents ca01af6 + 2bca0f3 commit 70c35d2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gsk/pipe/js/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ gulp.task('js', 'Compile JS files into build folder using webpack.', ['test:js']
.pipe(plumber({ errorHandler: err }))
.pipe(webpackStream(webpackConfig, webpack))
.pipe(gulp.dest(DEST))
.pipe(bs.stream());
.on('end', bs.reload);
}, {
options: {
optimize : 'Optimize for production.',
Expand Down
2 changes: 1 addition & 1 deletion .gsk/tasks/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ gulp.task('css', 'Compile CSS files into build folder.', ['test:css'], function
.pipe(pipeline())
.pipe(postcss(processors))
.pipe(gulp.dest(DEST))
.pipe(bs.stream());
.on('end', bs.reload);
}, {
options: {
optimize : 'Optimize for production.',
Expand Down
2 changes: 1 addition & 1 deletion .gsk/tasks/html.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ gulp.task('html', 'Compile HTML files.', function () {
.pipe(plumber({ errorHandler: err }))
.pipe(pipeline())
.pipe(gulp.dest(DEST))
.pipe(bs.stream());
.on('end', bs.reload);
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"homepage": "https://github.com/cleverage/garden-starter-kit",
"title": "Garden Starter Kit",
"description": "Set de base pour les projets Garden statiques.",
"version": "2.0.0-beta4",
"version": "2.0.0-beta5",
"repository": {
"type": "git",
"url": "https://github.com/cleverage/garden-starter-kit.git"
Expand Down

0 comments on commit 70c35d2

Please sign in to comment.