generator-flux-react icon indicating copy to clipboard operation
generator-flux-react copied to clipboard

`gulp build` task hangs

Open TravelingTechGuy opened this issue 10 years ago • 6 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.

TravelingTechGuy avatar May 10 '15 18:05 TravelingTechGuy

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!

banderson avatar May 13 '15 00:05 banderson

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!

TravelingTechGuy avatar May 13 '15 04:05 TravelingTechGuy

If you replace those lines you will not get sourcemaps

totty90 avatar May 14 '15 10:05 totty90

I am also experiencing this problem.

hackingbeauty avatar Jun 06 '15 17:06 hackingbeauty

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

banderson avatar Jun 08 '15 14:06 banderson

@banderson was this ever fixed?

TravelingTechGuy avatar Aug 03 '15 22:08 TravelingTechGuy