From cba3375756ff360a1c3e0092e632f2a90883532d Mon Sep 17 00:00:00 2001 From: Gemma Leigh Date: Mon, 17 Oct 2016 14:11:28 +0100 Subject: [PATCH] Add a callback to the copy-assets task --- gulp/copy-assets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulp/copy-assets.js b/gulp/copy-assets.js index 490e72dac0..32a80e8a2e 100644 --- a/gulp/copy-assets.js +++ b/gulp/copy-assets.js @@ -7,10 +7,10 @@ var gulp = require('gulp') var config = require('./config.json') -gulp.task('copy-assets', function () { +gulp.task('copy-assets', function (cb) { return gulp.src(['!' + config.paths.assets + 'sass{,/**/*}', config.paths.assets + '/**']) - .pipe(gulp.dest(config.paths.public)) + .pipe(gulp.dest(config.paths.public)), cb }) gulp.task('copy-documentation-assets', function () {