diff --git a/tasks/jsdoc-plugin.js b/tasks/jsdoc-plugin.js index 34b998b..72235ec 100644 --- a/tasks/jsdoc-plugin.js +++ b/tasks/jsdoc-plugin.js @@ -91,7 +91,7 @@ module.exports = function jsDocTask(grunt) { grunt.fail.warn('Wrong configuration', errorCode.generic); } - if (!grunt.file.exists(params.destination)) { + if (!grunt.file.exists(params.destination) && !params.configure) { grunt.file.mkdir(options.destination); grunt.log.debug('create destination : ' + options.destination); if (!grunt.file.exists(params.destination)) {