mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Reorder grunt watch tasks
Move style and syntax checks to the end. // FREEBIE
This commit is contained in:
16
Gruntfile.js
16
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: {
|
||||
|
||||
Reference in New Issue
Block a user