Like many popular open source projects Grunt has a growing ecosystem of developers and users that are providing hundreds of plugins to allow it to automate an increasingly large range of build activities. Some of the most popular plugins today provide support for:
- Watch – the capability to run predefined tasks whenever a watched files are changed, added or removed
- Less – a tool to compile LESS files into CSS
Automating build related activities with Grunt ensures that all code you produce will build and run as expected. Grunt can also be used to enforce coding standards and style guides. Code quality tools help to catch problematic code structures and common errors. The end result will be more productive software development – you will be able to have cleaner code with less effort.
Grunt has already published some excellent tutorials and guides as well as documentation to its website. The diagram below summarizes the configuration you need to use it on TFS.