Sweet task for Grunt
HTML JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tasks
test
.editorconfig
.gitignore
.npmignore
Changelog.md
Gruntfile.js
License.md
Readme.md
package.json

Readme.md

Sweet task for Grunt

No Maintenance Intended

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.