Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

gruntjs vs yeoman vs guard [closed]

I am currently using guard to watch changes on my .coffee and .scss files and compile them appropriately.

Now, gruntjs and yeoman offer similar features.

  1. What would be the incentives to move away from guard to gruntjs or yeoman?
  2. What are the benefits of using yeoman vs gruntjs or vice versa?

Thanks!

like image 949
ontk Avatar asked Nov 08 '12 22:11

ontk


1 Answers

They have entirely different purposes.

Guard is comparable with the grunt task grunt-contrib-watch which runs tasks when files changes.

Grunt is a task based build tool which abstracts the boring work into reusable tasks so you don't have to reinvent the wheel in each project. You can do so much more than just watch for changes. You can concat, minify JS/CSS, compile CoffeeScript/LESS/Sass, etc.

Yeoman builds upon grunt and other tools and provides an opinionated workflow to build front-end web apps. It is much more than just grunt.

like image 115
Sindre Sorhus Avatar answered Sep 28 '22 01:09

Sindre Sorhus