> Misconception #3: Gulp’s Streams Are Necessary for Fast Builds The author fails to acknowledge that gulp is also asynchronous. This is what makes it "fast". Streaming is just a nice abstraction for passing data through a pipeline. Sure you can do async on command line but that's not trivial and the author doesn't address that.
Why I Left Gulp and Grunt for Npm Scripts
41–50 of 75 posts
Re: Why I Left Gulp and Grunt for Npm Scripts
#42Re: Why I Left Gulp and Grunt for Npm Scripts
#43I may not have been in the node and npm space long enough to fully understand the point of this, but it sounds like the endless argument of "stop using jQuery and go with raw Javascript instead". The argument goes that modern Javascript has moved far enough along that a library like jQuery is not as necessary. But the majority of the examples I've seen of how to avoid jQuery means essentially coding your own custom v…
Re: Why I Left Gulp and Grunt for Npm Scripts
#44Re: Why I Left Gulp and Grunt for Npm Scripts
#45Earlier quoted context omitted.
We don't choose our tools, the customer's IT does it, so are the wonders of consulting when you work on existing projects. And they choose them, because they follow fashion.
Do your customers really dictate that you use grunt or gulp in your build process in their project? I seriously find this to be very implausible.
Why? If they're already using gulp and have people in-house that understand gulp, why is it so unreasonable that they don't want their consultants adding a new build system to the mix?
Re: Why I Left Gulp and Grunt for Npm Scripts
#46This. A thousand times this. Embrace the unix philosophy of small tools and npm scripts and watch your baroque frontend build process with all its plugin dependencies reduce to amazing simplicity. Here's another good write up with some significantly more useful examples: http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool... > Package.json also doesn’t support variables Not sure what he means by this, npm sc…
Re: Why I Left Gulp and Grunt for Npm Scripts
#47I may not have been in the node and npm space long enough to fully understand the point of this, but it sounds like the endless argument of "stop using jQuery and go with raw Javascript instead". The argument goes that modern Javascript has moved far enough along that a library like jQuery is not as necessary. But the majority of the examples I've seen of how to avoid jQuery means essentially coding your own custom v…
Re: Why I Left Gulp and Grunt for Npm Scripts
#48Earlier quoted context omitted.
Do your customers really dictate that you use grunt or gulp in your build process in their project? I seriously find this to be very implausible.
I seriously find this to be very implausible. Why? If they're already using gulp and have people in-house that understand gulp, why is it so unreasonable that they don't want their consultants adding a new build system to the mix?
Re: Why I Left Gulp and Grunt for Npm Scripts
#49Re: Why I Left Gulp and Grunt for Npm Scripts
#50Also, minor nit: The author claims `&&` is "cross platform". I regret to inform him it is not. It may well work for bash and cmd.exe but it has been disallowed as a command seperator in powershell for a few versions. Aiming for cross-shell compatible commands is more of a minefield than you'd expect - I actually knew someone who'd rewired a ruby DSL to use for a shell. I've found it best for crossplat to write as much in JS as possible and just let npm tasks call out to scripts, to use as little of the shell as possible.