From 8ca19107925cdb11025ca2e625d964f60b782eab Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Mon, 20 Jun 2016 15:35:32 -0700 Subject: [PATCH] Add watch task --- Gulpfile.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gulpfile.ts b/Gulpfile.ts index 04638ed971a..9e8fa2dfb44 100644 --- a/Gulpfile.ts +++ b/Gulpfile.ts @@ -1048,3 +1048,7 @@ gulp.task("lint", "Runs tslint on the compiler sources. Optional arguments are: gulp.task("default", "Runs 'local'", ["local"]); + +gulp.task("watch", "Watches the src/ directory for changes and executes runtests-parallel.", [], () => { + gulp.watch("src/**/*.*", ["runtests-parallel"]); +});