-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathgruntfile.js
More file actions
31 lines (30 loc) · 724 Bytes
/
gruntfile.js
File metadata and controls
31 lines (30 loc) · 724 Bytes
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
31
module.exports = function(grunt) {
grunt.initConfig({
sass: {
dist: {
files: {
'public/stylesheets/application.css': 'sass/style.scss'
},
options: {
sourceMap: true,
includePaths: [
//require('node-bourbon').includePaths,
'./bower_components/color-scale',
]
}
}
},
watch: {
source: {
files: ['sass/**/*.scss', 'views/**/*.jade'],
tasks: ['sass'],
options: {
livereload: true, // needed to run LiveReload
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-sass');
grunt.registerTask('default', ['sass']);
};