|
@@ -8,23 +8,23 @@ var uncommentShaders = require('../helpers/gulp-removeShaderComments');
|
|
|
// Read the full config.
|
|
|
var config = require("../config.json");
|
|
|
|
|
|
-/**
|
|
|
- * Watch ts files from typescript .
|
|
|
- * Hack into the cli :-)
|
|
|
- */
|
|
|
-gulp.task("srcTscWatch", function() {
|
|
|
- // Reuse The TSC CLI from gulp to enable -w.
|
|
|
- process.argv[2] = "-w";
|
|
|
- process.argv[3] = "-p";
|
|
|
- process.argv[4] = "../../src/tsconfig.json";
|
|
|
- require("../../../node_modules/typescript/lib/tsc.js");
|
|
|
- return Promise.resolve();
|
|
|
-});
|
|
|
+// Keep for reference for a bit might cccome back pretty soon.
|
|
|
+// /**
|
|
|
+// * Watch ts files from typescript .
|
|
|
+// * Hack into the cli :-)
|
|
|
+// */
|
|
|
+// gulp.task("srcTscWatch", function() {
|
|
|
+// // Reuse The TSC CLI from gulp to enable -w.
|
|
|
+// process.argv[2] = "-w";
|
|
|
+// 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 startWatch() {
|
|
|
gulp.task("watch", function startWatch() {
|
|
|
var tasks = [];
|
|
|
|
|
@@ -66,5 +66,4 @@ gulp.task("watch", function startWatch() {
|
|
|
});
|
|
|
|
|
|
return Promise.resolve();
|
|
|
-});
|
|
|
-//}));
|
|
|
+});
|