text: // Generated on 2015-09-21 using
  // generator-webapp 1.0.1
  'use strict';
  
  // # Globbing
  // for performance reasons we're only matching one level down:
  // 'test/spec/{,*/}*.js'
  // If you want to recursively match all subfolders, use:
  // 'test/spec/**/*.js'
  
  module.exports = function (grunt) {
  
    // Time how long tasks take. Can help when optimizing build times
    require('time-grunt')(grunt);
  
    // Automatically load required grunt tasks
    require('jit-grunt')(grunt, {
        useminPrepare: 'grunt-usemin'
    });
  
    // Configurable paths
    var config = {
      app: 'app',
      dist: 'dist'
    };
  
    // Define the configuration for all the tasks
    grunt.initConfig({
  
      // Project settings
      config: config,
  
      // Watches files for changes and runs tasks based on the changed files
      watch: {
        bower: {
          files: ['bower.json'],
          tasks: ['wiredep']
        },
             
        gruntfile: {
          files: ['Gruntfile.js']
        },
        styles: {
          files: ['<%= config.app %>/styles/{,*/}*.css'],
          tasks: ['newer:copy:styles', 'postcss']
        }
      },
  
      browserSync: {
        options: {
          notify: false,
          background: true
        },
        livereload: {
          options: {
            files: [
              '<%= config.app %>/{,*/}*.html',
              '.tmp/styles/{,*/}*.css',
              '<%= config.app %>/images/{,*/}*',
              '.tmp/scripts/{,*/}*.js'
            ],
            port: 9000,
            server: {
              baseDir: ['.tmp', config.app],
              routes: {
                '/bower_components': './bower_components'
              }
            }
          }
        }
      }
    })
    grunt.registerTask('serve', 'start the server and preview your app', function (target) {
  
  
      grunt.task.run([
        'browserSync:livereload',
        'watch'
      ]);
    });
  
      grunt.registerTask('default', [
      'serve'
    ]);
  };
  