diff --git a/Gruntfile.js b/Gruntfile.js index d062b365..07a8f009 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -734,7 +734,12 @@ module.exports = function (grunt) { //-- https://github.com/gruntjs/grunt-contrib-clean clean: { //-- Remove temporary folder - tmp: [".tmp", DIST_TMP], + tmp: { + src: [".tmp", DIST_TMP], + options: { + 'no-write': grunt.option('dont-clean-tmp') + } + }, //-- Remove folder with generated executable packages dist: [DIST],