module.exports.tasks = {

	/**
	* Watch
	* https://github.com/gruntjs/grunt-contrib-watch
	* Watches your scss, js etc for changes and compiles them
	*/
	watch: {
		scss: {
			files: ['<%%=config.css.scssDir%>/**/*.scss'],
			tasks: [
				'sass',
				'autoprefixer',
				'clean:tempCSS'<% if (statix == true) {%>,
				'copy:css'<% } %>
			],
			options: {
				interrupt: true,
				spawn: false
			}
		},

		js: {
			files: [
			<% if (browserify == true) {%>
				'js/**/*.js',
				'!js/dist/**/*.js'<% if (statix == true) {%>,
				'!<%%= config.statix.dir%>/assets/js/dist/**/*.js'<% } %>
			<% } else { %>'<%%=config.js.fileList%>'<% } %>
			],
			tasks: [
			<% if (browserify == true) {%>'browserify:dev'<% } else { %>
				'uglify',
				'newer:copy:modernizr'<% } %><% if (statix == true) {%>,
				'copy:js'<% } %>
			]
		},

		js: {
			<% if (browserify == true) {%>files: [
				'js/**/*.js',
				'!js/dist/**/*.js'<% if (statix == true) {%>,
				'!<%%= config.statix.dir%>/assets/js/dist/**/*.js'<% } %>
			],<% } else { %>
			files: [
				'<%%=config.js.fileList%>'<% if (statix == true) {%>,
				'!<%%= config.statix.dir%>/assets/js/dist/**/*.js'<% } %>
			],<% } %>
			tasks: [
				<% if (browserify == true) {%>'browserify:dev'<% } else { %>
				'uglify',
				'newer:copy:modernizr'<% } %><% if (statix == true) {%>,
				'copy:js'<% } %>
			]
			],
			options: {
				interrupt: true,
				spawn: false
			}
		},

		images : {
			files: ['<%%=config.img.srcDir%>/**/*.{svg,png,jpg,gif}'],
			tasks: ['imagemin:images'],
			options: {
				interrupt: true,
			}
		},

		<% if (grunticon == true) {%>grunticon : {
			files: ['<%%=config.img.grunticonDir%>/**/*.{svg,png,jpg,gif}'],
			tasks: [
				'clean:icons',
				'imagemin:grunticon',
				'grunticon'
			]
		},

		<% } %>grunt: {
			files: ['_grunt-configs/*.js', 'Gruntfile.js'],
			options: {
				reload: true
			}
		}<% if (statix === true) {%>,

		assemble : {
			files: ['<%%= config.statix.dir%>/src/templates/**/*.{hbs,md}'],
			tasks: [
				'assemble',
				'newer:copy:statix'
			],
			options: {
				livereload: true
			}
		},<% } %>
	}
};

@@ -461,34 +461,30 @@
 %09%09%09'
-js/**/*.js',%0A%09%09%09%09'!js/dist
+%3C%25%25=config.srcDir%25%3E/js
 /**/
@@ -778,32 +778,32 @@
 x == true) %7B%25%3E,%0A
+
 %09%09%09%09'copy:js'%3C%25 
@@ -811,542 +811,8 @@
  %25%3E%0A
-%09%09%09%5D%0A%09%09%7D,%0A%0A%09%09js: %7B%0A%09%09%09%3C%25 if (browserify == true) %7B%25%3Efiles: %5B%0A%09%09%09%09'js/**/*.js',%0A%09%09%09%09'!js/dist/**/*.js'%3C%25 if (statix == true) %7B%25%3E,%0A%09%09%09%09'!%3C%25%25= config.statix.dir%25%3E/assets/js/dist/**/*.js'%3C%25 %7D %25%3E%0A%09%09%09%5D,%3C%25 %7D else %7B %25%3E%0A%09%09%09files: %5B%0A%09%09%09%09'%3C%25%25=config.js.fileList%25%3E'%3C%25 if (statix == true) %7B%25%3E,%0A%09%09%09%09'!%3C%25%25= config.statix.dir%25%3E/assets/js/dist/**/*.js'%3C%25 %7D %25%3E%0A%09%09%09%5D,%3C%25 %7D %25%3E%0A%09%09%09tasks: %5B%0A%09%09%09%09%3C%25 if (browserify == true) %7B%25%3E'browserify:dev'%3C%25 %7D else %7B %25%3E%0A%09%09%09%09'uglify',%0A%09%09%09%09'newer:copy:modernizr'%3C%25 %7D %25%3E%3C%25 if (statix == true) %7B%25%3E,%0A%09%09%09%09'copy:js'%3C%25 %7D %25%3E%0A%09%09%09%5D%0A
 %09%09%09%5D

fix js watch task