Skip to content

Commit

Permalink
make error event in preview:build task correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Nov 6, 2020
1 parent 6181177 commit f89258d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulp.d/tasks/build-preview-pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = (src, previewSrc, previewDest, sink = () => map()) => (done) =>
})
)
.pipe(vfs.dest(previewDest))
//.on('error', done)
.on('error', done)
.pipe(sink())
)

Expand Down

0 comments on commit f89258d

Please sign in to comment.