Created
March 4, 2015 16:45
-
-
Save neysimoes/21cf72bf8ec22a2abe2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
'use strict'; | |
require('load-grunt-tasks')(grunt); | |
grunt.initConfig({ | |
sass: { | |
options: { | |
sourceMap: false | |
}, | |
dist: { | |
files: { | |
'css/main.css' : '_scss/style.scss' | |
}, | |
} | |
}, | |
clean: { | |
build: { | |
src: ["css/"] | |
} | |
}, | |
watch: { | |
css: { | |
files: ['_scss/**', '_scss/*.scss'], | |
// tasks: ['clean', 'sass'] | |
tasks: ['sass'] | |
} | |
} | |
}); | |
grunt.registerTask('w', ['watch']); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment