gulp-bundle-assets
gulp-bundle-assets copied to clipboard
Combine bundle.watch with gulp.pipe, or have callback on a complete iteration
Hi, I need to deploy my assets to multiple directories, after they've been built by the bundle.watch( options )
command. Ideally, the one of the directories will have an ENV variable as part of the path.
Is there a callback function for when an iteration of the watch cycle completes?
or can I combine bundle.watch
with gulp.pipe
, so as to deploy to multiple destinations?
Thanks!
Actually someone made a PR for this but the tests aren't currently passing: https://github.com/dowjones/gulp-bundle-assets/pull/72
If you want to take a stab at fixing up the PR, I'll get it merged for you!
Ok, I have a PR (#106 ) with tests passing locally, but it looks like it's failing in travis because of a bug in the hoek
dependency?
https://travis-ci.org/dowjones/gulp-bundle-assets/jobs/328295274