grunt-sweet

0.2.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i grunt-sweet

Weekly Downloads

1

Version

0.2.2

License

none

Last publish

Collaborators

  • sapegin