Reorder grunt watch tasks

Move style and syntax checks to the end.

// FREEBIE
This commit is contained in:
lilia 2016-02-22 14:02:03 -08:00
parent 71467822f6
commit 4f3d1ed55a

View file

@ -147,14 +147,6 @@ module.exports = function(grunt) {
} }
}, },
watch: { watch: {
scripts: {
files: ['<%= jshint.files %>', './js/**/*.js'],
tasks: ['jshint']
},
style: {
files: ['<%= jscs.all.src %>', './js/**/*.js'],
tasks: ['jscs']
},
sass: { sass: {
files: ['./stylesheets/*.scss'], files: ['./stylesheets/*.scss'],
tasks: ['sass'] tasks: ['sass']
@ -167,6 +159,14 @@ module.exports = function(grunt) {
files: ['<%= dist.src %>', '<%= dist.res %>'], files: ['<%= dist.src %>', '<%= dist.res %>'],
tasks: ['copy'] tasks: ['copy']
}, },
scripts: {
files: ['<%= jshint.files %>', './js/**/*.js'],
tasks: ['jshint']
},
style: {
files: ['<%= jscs.all.src %>', './js/**/*.js'],
tasks: ['jscs']
},
}, },
connect: { connect: {
server: { server: {