Closed pusherman closed 8 years ago
Hi @pusherman thanks for reporting, this is a bug indeed
@micaelmbagira this is exactly what I tried locally but this caused another issue.
this.emit
in the error handler is undefined because the error is coming from webpack and not a gulp stream. Since it doesn't emit 'end' gulp just pauses without exiting.
webpackChangeHandler has
conf.errorHandler('Webpack')(err);
but conf is the webpack.conf not gulp.conf.
If gulp.conf is used, this.emit is not valid since
this
is the gulp.conf object.