Skip to content

Commit 948c2f3

Browse files
Move watch task into gulp/tasks
1 parent d086a86 commit 948c2f3

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

gulp/tasks/watch.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
var gulp = require('gulp');
2+
3+
gulp.task('watch', function() {
4+
gulp.watch('./src/**/*', ['default']);
5+
});

gulpfile.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,4 @@ var streamqueue = require('streamqueue');
1010
var jscs = require('gulp-jscs');
1111

1212

13-
require('./gulp');
14-
15-
gulp.task('watch', function() {
16-
gulp.watch('./src/**/*', ['default']);
17-
});
13+
require('./gulp');

0 commit comments

Comments
 (0)