Initial commit
[yaffs-website] / gruntfile.js
1 /**
2  * Created by jeff on 13/03/17.
3  */
4
5 module.exports = function (grunt) {
6     grunt.initConfig({
7         watch: {
8             src: {
9                 files: ['**/*.scss', '**/*.php'],
10                 tasks: ['compass:dev']
11             },
12             options: {
13                 livereload: true,
14             },
15         },
16         compass: {
17             dev: {
18                 options: {
19                     sassDir: 'custom-sass',
20                     cssDir: 'css',
21                     imagesPath: 'assets/img',
22                     noLineComments: false,
23                     outputStyle: 'compressed'
24                 }
25             }
26         }
27     });
28     grunt.loadNpmTasks('grunt-contrib-compass');
29     grunt.loadNpmTasks('grunt-contrib-sass');
30     grunt.loadNpmTasks('grunt-contrib-watch');
31 };