Skip to content

Commit

Permalink
Add a callback to the copy-assets task
Browse files Browse the repository at this point in the history
  • Loading branch information
gemmaleigh committed Oct 17, 2016
1 parent 237a3b0 commit cba3375
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulp/copy-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit cba3375

Please sign in to comment.