Skip to content

Commit b705d92

Browse files
committed
added watch task to gulp to auto-build.
1 parent ce6352c commit b705d92

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gulpfile.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ var testFiles = []; // Declared in the karma.conf.js
1010
var rootDir = process.cwd();
1111
var distDirectory = 'dist';
1212

13+
gulp.task('watch', function(){
14+
gulp.watch(['js/**/*.ts', 'server/data_form.ts'], ['build']);
15+
})
16+
1317
/**
1418
* Main task: cleans, builds, run tests, and bundles up for distribution.
1519
*/

0 commit comments

Comments
 (0)