blob: 663cb1a954fce98257015945b23a96499b4c3e9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON("package.json"),
watch: {
sass: {
files: ["scss/**/*.{scss,sass}"],
tasks: ["sass:dev"]
}
},
sass: {
dev: {
options: {
style: 'nested'
},
files: {
'_site/style.css': 'scss/style.scss',
'style.css': 'scss/style.scss'
}
},
},
});
grunt.registerTask("default", ["watch"]);
grunt.loadNpmTasks('grunt-sass');
grunt.loadNpmTasks("grunt-contrib-watch");
};
|