banderson / generator-flux-react

A yeoman generator for app based on Facebook's Flux/React architecture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`gulp build` task hangs

TravelingTechGuy opened this issue · comments

The gulp build task never returns to console without ctrl+c. In itself, it's just an annoyance, but I'm trying to deploy an app built using this generator to Heroku, and add the build task as a postinstall step, and I'm afraid of hangs.

I think only watch, by definition, should wait for new input. The default and build tasks should return control.

Ah, I see what you mean.

In the meantime, while I get this sorted out, here's what you can do: In gulp/tasks/browserify.js change these two lines to this:

  var bundler = browserify(config.src);

And let me know how it goes!

Hey @banderson - it worked! Thanks!!!
Sadly, a side effect of the Heroku push is that I had to move all devDependencies into dependencies. Hoping I'd find a way around that - but it's not related to the generator. Good job!

commented

If you replace those lines you will not get sourcemaps

I am also experiencing this problem.

@hackingbeauty is source maps problem or the OP's problem?

@banderson was this ever fixed?