From 4f3d1ed55a122e00217240fb3e6d9c08e108b0d0 Mon Sep 17 00:00:00 2001 From: lilia Date: Mon, 22 Feb 2016 14:02:03 -0800 Subject: [PATCH] Reorder grunt watch tasks Move style and syntax checks to the end. // FREEBIE --- Gruntfile.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index f798fb91..3b2adea2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -147,14 +147,6 @@ module.exports = function(grunt) { } }, watch: { - scripts: { - files: ['<%= jshint.files %>', './js/**/*.js'], - tasks: ['jshint'] - }, - style: { - files: ['<%= jscs.all.src %>', './js/**/*.js'], - tasks: ['jscs'] - }, sass: { files: ['./stylesheets/*.scss'], tasks: ['sass'] @@ -167,6 +159,14 @@ module.exports = function(grunt) { files: ['<%= dist.src %>', '<%= dist.res %>'], tasks: ['copy'] }, + scripts: { + files: ['<%= jshint.files %>', './js/**/*.js'], + tasks: ['jshint'] + }, + style: { + files: ['<%= jscs.all.src %>', './js/**/*.js'], + tasks: ['jscs'] + }, }, connect: { server: {