From 0e04711ac200cb64f94cdbce4b42b69c28aff451 Mon Sep 17 00:00:00 2001 From: jasteph Date: Sat, 14 May 2016 13:53:00 -0700 Subject: [PATCH] fix thunk already filled errror --- generators/app/templates/_gulpfile.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/generators/app/templates/_gulpfile.js b/generators/app/templates/_gulpfile.js index 38d069a..a1afb11 100644 --- a/generators/app/templates/_gulpfile.js +++ b/generators/app/templates/_gulpfile.js @@ -62,7 +62,9 @@ gulp.task('_build', 'INTERNAL TASK - Compiles all TypeScript source files', func }); //run tslint task, then run update-tsconfig and gen-def in parallel, then run _build -gulp.task('build', 'Compiles all TypeScript source files and updates module references', gulpSequence('tslint', ['update-tsconfig', 'gen-def'], '_build')); +gulp.task('build', 'Compiles all TypeScript source files and updates module references', function(callback) { + gulpSequence('tslint', ['update-tsconfig', 'gen-def'], '_build')(callback); +}); gulp.task('test', 'Runs the Jasmine test specs', ['build'], function () { return gulp.src('test/*.js')