var gulp = require('gulp'),
    del = require('del'),
    cache = require('gulp-cached'),
    projectConfig = require('../../projectConfig'),
    pathsToDel = [
        './dev/',
        './.tmpTemplater/',
        './.tmpPreproc/'
    ];

    if (!projectConfig.useBuildVersioning) {
        pathsToDel.push('./builds/build/');
    }

// Clean dev directory and cache
module.exports = function(buildOptions) {

    return gulp.task('clean', function(cb) {
        delete cache.caches[
                'linting', 'move-assets', 'move-content-img', 'move-plugins-img',
                'move-fonts', 'move-svg', 'raster-svg', 'separate-js'
            ];

        del(pathsToDel, cb);
    });
};   
@@ -51,44 +51,8 @@
 '),%0A
-    cache = require('gulp-cached'),%0A
     
@@ -418,205 +418,8 @@
 ) %7B%0A
-        delete cache.caches%5B%0A                'linting', 'move-assets', 'move-content-img', 'move-plugins-img',%0A                'move-fonts', 'move-svg', 'raster-svg', 'separate-js'%0A            %5D;%0A%0A
     

remove clean cache