Sweet task for Grunt.

npm install grunt-sweet
1 downloads in the last day
12 downloads in the last week
29 downloads in the last month

Sweet task for Grunt


This plugin requires Grunt 0.4.

Install grunt-sweet:

npm install grunt-sweet --save-dev

Add somewhere in your Gruntfile.js:


Inside your grunt.js file add a section named sweet. See Sweet documentation for available options.

Using server and watch tasks

Just add to your Gruntfile.js something like this:

watch: {
    sweet: {
        files: ['content/**', 'templates/**'],
        tasks: 'sweet'
server: {
    port: 8000,
    base: '.'

Handling of --debug option

--debug command line switch enables debug mode in Sweet.


The changelog can be found in the file.


The MIT License, see the included file.

npm loves you