make error event in preview:build task correctly
authorDan Allen <dan@opendevise.com>
Fri, 6 Nov 2020 22:15:36 +0000 (15:15 -0700)
committerDan Allen <dan@opendevise.com>
Fri, 6 Nov 2020 22:15:36 +0000 (15:15 -0700)
gulp.d/tasks/build-preview-pages.js

index e0604c8..f2e7557 100644 (file)
@@ -63,7 +63,7 @@ module.exports = (src, previewSrc, previewDest, sink = () => map()) => (done) =>
           })
         )
         .pipe(vfs.dest(previewDest))
-        //.on('error', done)
+        .on('error', done)
         .pipe(sink())
     )