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: {
|
||||
rebuild_all: {
|
||||
files: ['src/**/*', 'plugin.json'],
|
||||
tasks: ['default'],
|
||||
tasks: ['watchTask'],
|
||||
options: {spawn: false}
|
||||
},
|
||||
},
|
||||
@@ -135,4 +135,14 @@ module.exports = function(grunt) {
|
||||
'babel',
|
||||
'mochaTest'
|
||||
]);
|
||||
|
||||
grunt.registerTask('watchTask', [
|
||||
'clean',
|
||||
'copy:src_to_dist',
|
||||
'copy:pluginDef',
|
||||
'jshint',
|
||||
'jscs',
|
||||
'sass',
|
||||
'babel:dist'
|
||||
]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user