Skip to content
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.

Commit

Permalink
fix(gulp): add missing callback arg
Browse files Browse the repository at this point in the history
Also change `callback` to `cb` to make it consistent.
  • Loading branch information
stevemao committed Aug 19, 2015
1 parent 5af573c commit ccdfa77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/common/root/_gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ gulp.task('watch', function () {
gulp.watch('bower.json', ['bower']);
});

gulp.task('serve', function (callback) {
gulp.task('serve', function (cb) {
runSequence('clean:tmp',
['lint:scripts'],
['start:client'],
'watch', callback);
'watch', cb);
});

gulp.task('serve:prod', function() {
Expand Down Expand Up @@ -164,7 +164,7 @@ gulp.task('bower', function () {
// Build //
///////////

gulp.task('clean:dist', function () {
gulp.task('clean:dist', function (cb) {
rimraf('./dist', cb);
});

Expand Down

0 comments on commit ccdfa77

Please sign in to comment.