diff --git a/gulpfile.ts b/gulpfile.ts
index 08175914a1..64ed042246 100644
--- a/gulpfile.ts
+++ b/gulpfile.ts
@@ -47,6 +47,7 @@ gulp.task('build:ts', () => {
 		.src()
 		.pipe(sourcemaps.init())
 		.pipe(tsProject())
+		.on('error', () => {})
 		.pipe(sourcemaps.write('.', { includeContent: false, sourceRoot: '../built' }))
 		.pipe(gulp.dest('./built/'));
 });