philhawksworth / eleventyone

A scaffold for a quick start building with the Eleventy SSG
https://eleventyone.netlify.com
MIT License
465 stars 112 forks source link

Prevent gulp crashing of buildDest is empty #4

Closed edwardhorsford closed 5 years ago

edwardhorsford commented 6 years ago

If you run this on a fresh project it errors because it expects to find the buildDest. This sometimes causes issues where you run build:clean twice in quick succession. The first will delete the build directory, but the second crashes because it can't find it.

philhawksworth commented 5 years ago

Thanks @edwardhorsford !

I've actually restructure things a little now so that gulp is not required as a task runner ahead of 11ty. So this has happily been avoided. Closing this PR without merging due to the evolution of the project.

Thank you!