grunt-sweet

Sweet task for Grunt.

npm install grunt-sweet
9 downloads in the last day
18 downloads in the last week
29 downloads in the last month

Sweet task for Grunt

Installation

This plugin requires Grunt 0.4.

Install grunt-sweet:

npm install grunt-sweet --save-dev

Add somewhere in your Gruntfile.js:

grunt.loadNpmTasks('grunt-sweet');

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.

Changelog

The changelog can be found in the Changelog.md file.


License

The MIT License, see the included License.md file.

npm loves you