frankwallis / gulp-hub

Gulp plugin to run tasks in multiple gulpfiles
MIT License
89 stars 24 forks source link

Unable to get task to fire in two separate gulpfiles #28

Closed briantopping closed 9 years ago

briantopping commented 9 years ago

Hi there, thanks for a very promising library!

I've been stuck on this for a while: Can you see any problems in https://github.com/briantopping/angular2-seed/tree/gulp-hub? When I do a gulp serve.dev, I can only get the serve.dev task to run from the top level or the sub task file of the same name, but never both.

Really grateful for any insight you might have on this use case!

briantopping commented 9 years ago

Ah, silly me. The call to hub needs to be at the end of the file. It's overriding existing tasks, not somehow adding to a sequence of them.