diff --git a/Gruntfile.js b/Gruntfile.js index fa8ee002..11431679 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -123,13 +123,9 @@ module.exports = function (grunt) { }); grunt.registerTask('build-develop', 'Build develop scripts', function () { - if (packageFile.grunt["develop-copy"]) { - grunt.initConfig({ - copy: packageFile.grunt["develop-copy"] - }); - } else { - grunt.registerTask('copy', 'No copy', function () {}); - } + grunt.initConfig({ + copy: packageFile.grunt["develop-copy"] + }); }); grunt.loadNpmTasks('grunt-contrib-clean'); diff --git a/package.json b/package.json index caf772fe..87a3e49b 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,9 @@ "dest": "./build/server" } }, + "develop-copy": { + "server": {} + }, "clean": { "options": { "force": true