Currently, I am in the process of working on a gulpfile and have written the following task:
var tsProject = ts.createProject('app/Resources/public/angular/tsconfig.json');
gulp.task('angular-2', function () {
var tsResult = tsProject.src() // instead of gulp.src(...)
.pipe(ts(tsProject));
return tsResult.js.pipe(gulp.dest('web/js'));
});
Since I am new to this, I am unsure how to test this task. Can someone assist me in testing it?
Whenever I run gulp-watch or default, it returns errors even though the build is successful but still contains errors: