Skip to content

Commit 4123f9c

Browse files
committed
Add watch gulp task
1 parent 9ea134e commit 4123f9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gulpfile.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ function bump (done) {
185185
}
186186
exports.bump = bump
187187

188+
function watch () {
189+
return gulp.watch('v2/**/*.{ts,js}', scripts)
190+
}
191+
exports.watch = watch
192+
188193
const compile = gulp.series(imageAndStyles, scripts)
189194
exports.default = compile
190195
exports.compile = compile

0 commit comments

Comments
 (0)