Skip to content

Commit

Permalink
[Gulp] Add gulp watch
Browse files Browse the repository at this point in the history
  • Loading branch information
Arminek committed Dec 7, 2016
1 parent 38dd650 commit b0e7257
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,22 @@ gulp.task('admin', function() {
;
});

gulp.task('admin-watch', function () {
gulp.src('src/Sylius/Bundle/AdminBundle/Gulpfile.js', { read: false })
.pipe(chug({ args: config, tasks: 'watch' }))
;
});

gulp.task('shop', function() {
gulp.src('src/Sylius/Bundle/ShopBundle/Gulpfile.js', { read: false })
.pipe(chug({ args: config }))
;
});

gulp.task('shop-watch', function () {
gulp.src('src/Sylius/Bundle/ShopBundle/Gulpfile.js', { read: false })
.pipe(chug({ args: config, tasks: 'watch' }))
;
});

gulp.task('default', ['admin', 'shop']);

0 comments on commit b0e7257

Please sign in to comment.