Skip to content

Instantly share code, notes, and snippets.

@rabellamy
Last active December 30, 2015 17:49
Show Gist options
  • Save rabellamy/7863457 to your computer and use it in GitHub Desktop.
Save rabellamy/7863457 to your computer and use it in GitHub Desktop.
'use strict';
module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
watch: {
compass: {
files: ['sass/{,**/}*.scss'],
tasks: ['compass:dev']
},
livereload: {
options: {
livereload: true
},
files: [
'stylesheets/style.css'
]
}
},
compass: {
options: {
config: 'config.rb',
bundleExec: true
},
dev: {
options: {
environment: 'development'
}
},
dist: {
options: {
environment: 'production',
imagesDir: 'images-min',
force: true
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-compass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', [
'compass:dev',
'watch'
]);
};
{
"name": "na-carousel",
"version": "0.0.1",
"devDependencies": {
"grunt-contrib-compass": "~0.7.0",
"grunt-contrib-watch": "~0.5.3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment