Cross browser print image javascript

Hiding sections of a page when printing is a fairly common and trivial task with the help of a little css. For example, hiding a page header and footer only takes a few lines. @media print { .header, .footer { display: none; } } But what if you want to only print a

Tags: |

gulp clean Error: ENOENT, lstat

I have a gulp task that uses gulp-clean to wipe the contents of an output directory before other tasks are ran. It seemed to fail 50% of the time, throwing an exception with the message ‘Error: ENOENT, lstat ….’. The problem turned out to be my use of wildcards in the src. In the original