Search code examples
rubynode.jsguardgruntjsyeoman

gruntjs vs yeoman vs guard


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!


Solution

  • 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.