0.2.2 • Published 12 years ago
grunt-sweet v0.2.2
Sweet task for Grunt
Installation
This plugin requires Grunt 0.4.
Install grunt-sweet:
npm install grunt-sweet --save-devAdd 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.