Skip to content

Commit f6b4a23

Browse files
committed
update gulpfile.js
1 parent 5931e64 commit f6b4a23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var gulp = require('gulp'),
22
ts = require('gulp-typescript');
33

44
gulp.task('typescript', function() {
5-
var tsResult = gulp.src('ts/*.ts')
5+
var tsResult = gulp.src('ts/**/*.ts')
66
.pipe(ts({
77
target: 'ES5',
88
declarationFiles: false,
@@ -15,7 +15,7 @@ gulp.task('typescript', function() {
1515
});
1616

1717
gulp.task('watch', function() {
18-
gulp.watch(['ts/*.ts'], ['typescript']);
18+
gulp.watch(['ts/**/*.ts'], ['typescript']);
1919
});
2020

2121
gulp.task('default', ['typescript', 'watch']);

0 commit comments

Comments
 (0)