Skip to content

Commit 481f094

Browse files
author
Slava Fomin II
committed
Changed tasks order.
1 parent 7f2e2e3 commit 481f094

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

gulpfile.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gulp.task('clean', function (callback) {
88
del(['dist'], callback);
99
});
1010

11-
gulp.task('build', function () {
11+
gulp.task('build', ['clean'], function () {
1212
gulp.src('src/angular-input-modified.js')
1313
.pipe(rename('angular-input-modified.js'))
1414
.pipe(gulp.dest('dist'))
@@ -19,5 +19,4 @@ gulp.task('build', function () {
1919
;
2020
});
2121

22-
// @todo: make sure build is called AFTER the clean.
23-
gulp.task('default', ['clean', 'build']);
22+
gulp.task('default', ['build']);

0 commit comments

Comments
 (0)