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.
The text was updated successfully, but these errors were encountered:
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 createa.js
with:For this, my gulp task needs access to the name of the JS file that gulp-coffee was trying to create.
The text was updated successfully, but these errors were encountered: