Explorar o código

gulp run working

Raanan Weber %!s(int64=7) %!d(string=hai) anos
pai
achega
41f06f3a0f
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      Tools/Gulp/gulpfile.js

+ 5 - 2
Tools/Gulp/gulpfile.js

@@ -686,12 +686,13 @@ gulp.task("srcTscWatch", function () {
     process.argv[3] = "-p";
     process.argv[4] = "../../src/tsconfig.json";
     require("./node_modules/typescript/lib/tsc.js");
+    return Promise.resolve();
 });
 
 /**
  * Watch ts files and fire repective tasks.
  */
-gulp.task("watch", gulp.series("srcTscWatch", function () {
+gulp.task("watch", gulp.series("srcTscWatch", function startWatch() {
     var interval = 1000;
 
     var tasks = [];
@@ -729,7 +730,9 @@ gulp.task("watch", gulp.series("srcTscWatch", function () {
         });
     });
 
-    return tasks;
+    console.log(tasks.length);
+
+    return Promise.resolve();
 }));
 
 gulp.task("intellisense", function () {