frankwallis / gulp-hub

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

I upgraded from Node 4 to Node 6 and this module stopped working #31

Closed BorisKozo closed 8 years ago

BorisKozo commented 8 years ago

The issue is probably with how NPM 3 re-arranges the node_modules.

I tried debugging the code but didn't figure it out.

I have the most simple case:

Project A
   |
   |- gulpfile.js
   |- Project B
           |
           |- gulpfile.js

I am loading the gulpfile in Project B from the gulpfile in project A via hub('./ProjectB/gulpfile.js');

It says Loaded ProjectB/gulpfile.js

But then cannot find the task which is within that inner gulpfile.

Edit: I am on Windows

BorisKozo commented 8 years ago

I think I found the issue. Are you still maintaining this module? Would you accept a PR with the fix?

BorisKozo commented 8 years ago

:(

robatron commented 8 years ago

Thanks for your patience; I've been busy. Yes, I would love to see your PR!