chore(build): fix race condition for the !bundles.js.docs task

This commit is contained in:
Pawel Kozlowski 2016-01-08 14:51:29 +01:00 committed by Jeff Cross
parent e7081b8b7c
commit 3adc472f06
1 changed files with 2 additions and 2 deletions

View File

@ -1123,8 +1123,8 @@ gulp.task('!bundle.testing', ['build.js.dev'], function() {
{sourceMaps: true});
});
gulp.task('!bundles.js.docs', function() {
gulp.src('modules/angular2/docs/bundles/*').pipe(gulp.dest('dist/js/bundle'));
gulp.task('!bundles.js.docs', ['clean'], function() {
return gulp.src('modules/angular2/docs/bundles/*').pipe(gulp.dest('dist/js/bundle'));
});
gulp.task('!bundles.js.umd', ['build.js.dev'], function() {