From 3307ba01dc05bea3b43423980380b900e023e3ab Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Tue, 14 Apr 2015 11:39:33 +0000 Subject: [PATCH] Fix bug with race condition on build --- src/gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gulpfile.js b/src/gulpfile.js index d503aa73..2d7c68ea 100644 --- a/src/gulpfile.js +++ b/src/gulpfile.js @@ -147,9 +147,9 @@ gulp.task('bower-install', function(callback) { // header. Add the header manually. .pipe(header("// json2.js. Public Domain. See http://www.JSON.org/js.html\n")) .pipe(rename('json/json2.min.js')) - ); + ) + .pipe(gulp.dest(config.jsVendorPath)); - stream.pipe(gulp.dest(config.jsVendorPath)); stream .on('error', callback) .on('end', callback);