wiledal / gulp-include

Enables functionality similar to that of snockets / sprockets or other file insertion compilation tools.
158 stars 68 forks source link

throw error if file not found #60

Closed ghost closed 8 years ago

ghost commented 8 years ago

I fixed the problems mentioned in these issues.

claviska commented 8 years ago

Why on earth would file not found not trigger an error? Would love to see this implemented.

giyyapan commented 8 years ago

Any update? Would love to see this implemented too.

wiledal commented 8 years ago

Added errors if no match if met in version 2.2.1.

wiledal commented 8 years ago

Slight change to this. Errors are soft by default now, gulp-include will WARN in the console. If you need errors to be thrown, add the hardFail: true param after version 2.3.x.