jonkemp / gulp-useref

Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets.
MIT License
705 stars 93 forks source link

debug mode? #216

Closed dsozzi closed 7 years ago

dsozzi commented 7 years ago

Hi,

I'm keep getting this error message:

'throw new Error('Invalid glob argument: ' + glob);'

but unfortunately I don't know on which file useref is working to better understand where the error is. Is there any debug mode or is there a method to log the current working file?

thanks

jonkemp commented 7 years ago

You could try gulp-debug.

dsozzi commented 7 years ago

thanks it worked perfectly.