Closed jmatsushita closed 8 years ago
Don't have time to look properly but that use of merge
is definitely wrong.
Isn't
pipelines['build-fails'] = [
merge(
[ glob({ basePath: 'source' }, '**/*.*'), pipeline({ activate: true }, 'reject'), debug() ]
),
pipe('cat'),
write('dest')
]
The same as:
pipelines['build-fails'] = [
glob({ basePath: 'source' }, '**/*.*'),
pipeline({ activate: true }, 'reject'),
debug(),
pipe('cat'),
write('dest')
]
Sorry I'm being totally stupid, I should read things properly ;)
The issue is here: https://github.com/sighjs/sigh/blob/master/src/api.js#L236
The code doesn't look for activations inside of merges.
Released 0.12.27 with the fix.
Hi there,
I'm not sure what's going on here but if I have the following sigh.js
Then
sigh build-works
works butsigh build-fails
fails silently without outputting anything. With verbose output it yields: