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.
Just add to your Gruntfile.js
something like this:
watch: {
sweet: {
files: ['content/**', 'templates/**'],
tasks: 'sweet'
}
},
server: {
port: 8000,
base: '.'
}
--debug
command line switch enables debug mode in Sweet.
The changelog can be found in the Changelog.md file.
The MIT License, see the included License.md
file.