Grunt: remove tests from watch task.
This commit is contained in:
12
Gruntfile.js
12
Gruntfile.js
@@ -33,7 +33,7 @@ module.exports = function(grunt) {
|
|||||||
watch: {
|
watch: {
|
||||||
rebuild_all: {
|
rebuild_all: {
|
||||||
files: ['src/**/*', 'plugin.json'],
|
files: ['src/**/*', 'plugin.json'],
|
||||||
tasks: ['default'],
|
tasks: ['watchTask'],
|
||||||
options: {spawn: false}
|
options: {spawn: false}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -135,4 +135,14 @@ module.exports = function(grunt) {
|
|||||||
'babel',
|
'babel',
|
||||||
'mochaTest'
|
'mochaTest'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
grunt.registerTask('watchTask', [
|
||||||
|
'clean',
|
||||||
|
'copy:src_to_dist',
|
||||||
|
'copy:pluginDef',
|
||||||
|
'jshint',
|
||||||
|
'jscs',
|
||||||
|
'sass',
|
||||||
|
'babel:dist'
|
||||||
|
]);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user