6 ms·
The author's npm scripts approach is great for a small scale project needing to run just jshint but if you start getting into something serious, running more th
by petarb 12y ago
The author's npm scripts approach is great for a small scale project needing to run just jshint but if you start getting into something serious, running more than one task multiple times is a serious dent in your workflow.
- prottmann 12y agoI agree with that. I use npm commands for simple tasks. And grunt/gulp for complex projects. grunt, cause it is simpler than gulp, but only when it match the projects use case. gulp for "live" things, like livereload or quick partial builds on developement. Startet now to use webpack too, it is comfortable (campared with grunt), it does many build-stuff that you define in grunt by your own. Like always, use the right tools to get the job done. It exist not THE one and only tool that solve all problems in the world.