joliss / broccoli-static-compiler

This Broccoli compiler copies static files.
MIT License
13 stars 12 forks source link

Add `allowEmpty` option. #8

Closed rwjblue closed 9 years ago

rwjblue commented 10 years ago

If the pattern specified does not match any files, an error is thrown (from helpers.multiglob). This adds an option to catch that error.

Any errors not matching the specific error message from multiglob or if the option is not set, will be re-thrown.

Closes #7.

manuelmitasch commented 10 years ago

:+1:

jasonmit commented 9 years ago

:+1: I really need this!

joliss commented 9 years ago

This has landed in broccoli-funnel, which is what I recommend people use :)