From 1c7680156a223d172967bec532681d8cba2b593f Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Tue, 24 Mar 2015 22:24:48 +0300 Subject: [PATCH] Fixed build gulp task --- gulpfile.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 8539b28f..498a7526 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -248,10 +248,11 @@ gulp.task('bump', ['update-version-manifests', 'update-version-config'], functio }); gulp.task('build', function(callback) { - runSequence('less', 'usemin', - ['copy', 'copy-locales', 'copy-images'], function() { - gulp.start('disable-production'); - } + runSequence( + 'less', + 'usemin', + ['copy', 'copy-locales', 'copy-images', 'disable-production'], + callback ); });