module.exports = function(grunt) { // Grunt wrapper - Do grunt-related things in here

	grunt.initConfig({ // Initialize our configuration object
		pkg: grunt.file.readJSON('package.json'), // Read project settings from package.json
		
		copy: {
			snippets: { // List your snippets here. This is what copies your selected snippets from the src folder to the app folder.
				files: [{
					src: 'src/snippets/fly-out-menu.php',
					dest: 'app/snippets/fly-out-menu.php'
				}]
			}
		},
		
		uglify: {
			options: {
				mangle: false,
				// the banner is inserted at the top of the output
				banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
			},
			my_target: {
				files: {
				'app/js/custom.min.js': ['src/js/custom.js'],
				'app/js/modernizer.min.js': ['src/js/modernizer.js']
				}
			}
		},
		
		jshint: {
			files: ['src/js/custom.js'] // Just watch the src js file not the minified one
		},
		
		less: { // Configure the less task
			development: {
				options: {
					paths: "src/less",
				},
				files: {
					// target.css file: source.less file
					"src/css/style.css": "src/less/style.less"
				}
			}
		},
		
		autoprefixer: { // Configure the autoprefixer task
			options: {
				browsers: ['last 3 versions'] // More options available for this see https://github.com/ai/autoprefixer#browsers
			},
			files: {
				src: 'src/css/style.css',
				dest: 'src/css/style.css' // Put the autoprefixed version right back over its original
			},
		},
		
		cssmin: { // Now we can minify the auto-prefixed version of the code
			minify: {
				options: {
					banner: '/* <%= pkg.name %>.css minified <%= grunt.template.today("dd-mm-yyyy") %> */' // Give it a nice banner
				},
				files: {
					'app/css/style.min.css': ['src/css/style.css']
				}
			}
		},
		
		watch: { // Configure the watch task
			snippets: {
				files: ['src/snippets/*.php'],
				tasks: ['copy'],
			},
			scripts: {
				files: ['<%= jshint.files %>'],
				tasks: ['jshint'],
			},
			css: {
				files: ['**/*.less'],
				tasks: ['less'],
			},
			autoprefix: {
				files: ['src/css/style.css'],
				tasks: ['autoprefixer'],
			},
			cssmin: {
				files: ['src/css/style.css'],
				tasks: ['cssmin'],
			},
			livereload: {
				// Here we watch the files the css task will compile to
				// These files are sent to the live reload server after css compiles to them
				options: { livereload: true },
				files: ['app/**/*'],
			},
		}
		
	});
	
		// Load the tasks
		grunt.loadNpmTasks('grunt-contrib-copy');
		grunt.loadNpmTasks('grunt-contrib-uglify');
		grunt.loadNpmTasks('grunt-contrib-jshint');
		grunt.loadNpmTasks('grunt-contrib-less');
		grunt.loadNpmTasks('grunt-autoprefixer');
		grunt.loadNpmTasks('grunt-contrib-cssmin');
		grunt.loadNpmTasks('grunt-contrib-watch');
		
		// Register a test task for jshint. This can be run just by typing "grunt test" on the command line
		grunt.registerTask('test', ['jshint'])
		
		// And register the default task. This can be run just by typing "grunt" on the command line
		grunt.registerTask('default', ['copy', 'uglify', 'less', 'autoprefixer', 'cssmin']);
		
};
@@ -2013,16 +2013,20 @@
 iles: %5B'
+src/
 **/*.les
@@ -2061,94 +2061,8 @@
 %09%7D,%0A
-%09%09%09autoprefix: %7B%0A%09%09%09%09files: %5B'src/css/style.css'%5D,%0A%09%09%09%09tasks: %5B'autoprefixer'%5D,%0A%09%09%09%7D,%0A
 %09%09%09c
@@ -2941,32 +2941,72 @@
 the command line
+. This should be done before production.
 %0A%09%09grunt.registe

Remove autoprefix task from grunt watch to improve speed for development.