Fix bug in style changes for the Use cases on the live site.
[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                     environment: 'development',
20                     sassDir: 'web/themes/custom/yaffs/scss',
21                     cssDir: 'web/themes/custom/yaffs/css',
22                     imagesPath: 'images',
23                     fontsPath: 'fonts/font-awesome',
24                     noLineComments: false,
25                     outputStyle: 'compact',
26                     debugInfo: true
27                 }
28             },
29             prod: {
30                 options: {
31                     environment: 'production',
32                     sassDir: 'web/themes/custom/yaffs/scss',
33                     cssDir: 'web/themes/custom/yaffs/css',
34                     imagesPath: 'images',
35                     noLineComments: false,
36                     outputStyle: 'compressed',
37                     debugInfo: false,
38
39                 }
40             }
41         }
42     });
43     grunt.loadNpmTasks('grunt-contrib-compass');
44     grunt.loadNpmTasks('grunt-contrib-sass');
45     grunt.loadNpmTasks('grunt-contrib-watch');
46 };