Add default and watch task.
This commit is contained in:
1 parent
3853618f2f
commit
d00249e449
1 file changed
+7
@@ -19,3 +19,10 @@ gulp.task('scripts', ['clear'], function() {
|
||||
.pipe(uglify())
|
||||
.pipe(gulp.dest(paths.dest));
|
||||
});
|
||||
|
||||
|
||||
gulp.task('default', ['scripts']);
|
||||
|
||||
gulp.task('watch', function() {
|
||||
gulp.watch(paths.scripts, ['scripts']);
|
||||
});
|
||||
Reference in new issue
Block a user