Grunt: remove tests from watch task.

This commit is contained in:
Alexander Zobnin
2016-11-11 18:40:28 +03:00
parent afe2cfc7cf
commit 145bc80e78

View File

@@ -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'
]);
};