You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to write an error handler that writes a small JS file when gulp-coffee fails. For example if a.coffee has a syntax error, I want to create a.js with:
throw new Error('Error compiling a.coffee: <syntaxerror.stack>');
For this, my gulp task needs access to the name of the JS file that gulp-coffee was trying to create.