Skip to content

Instantly share code, notes, and snippets.

@i8ramin
Created December 8, 2013 17:19
Show Gist options
  • Save i8ramin/7860462 to your computer and use it in GitHub Desktop.
Save i8ramin/7860462 to your computer and use it in GitHub Desktop.
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,**/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
// show elapsed time at the end
require('time-grunt')(grunt);
// load all grunt tasks
require('load-grunt-tasks')(grunt);
grunt.initConfig({
watch: {
compass: {
files: ['app/scss/{,**/}*.{scss,sass}'],
tasks: ['compass']
}
},
compass: {
options: {
sassDir: 'app/scss',
cssDir: 'www/stylesheets',
imagesDir: 'www/images',
fontsDir: 'app/scss/fonts',
httpImagesPath: '/images',
relativeAssets: false,
debugInfo: false
},
dist: {}
}
});
grunt.registerTask('default', [
'watch'
]);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment