Skip to content

Commit 4fb01a1

Browse files
Update gulpfile.js
1 parent f9909fe commit 4fb01a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

skel-nav-ts/gulpfile.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ gulp.task('build-ts', function () {
2828

2929
var path = {
3030
sourceTS: "views/**/*.ts",
31+
sourceJS: "views/**/*.js",
3132
html: "views/**/*.html",
3233
style: "styles/**/*.css"
3334
}
@@ -51,7 +52,7 @@ function reportChange(event){
5152
}
5253

5354
gulp.task('watch', ['serve'], function() {
54-
gulp.watch(path.sourceTS, ['build-ts', browserSync.reload]).on('change', reportChange);
55+
gulp.watch(path.sourceTS, [browserSync.reload]).on('change', reportChange);
5556
gulp.watch(path.html, [browserSync.reload]).on('change', reportChange);
5657
gulp.watch(path.style, [browserSync.reload]).on('change', reportChange);
5758
});

0 commit comments

Comments
 (0)