grunt-cache-bust
grunt-cache-bust copied to clipboard
Inherited Task - double hashing the assets
Below inherited task, hash the assets file twice. help needed. cacheBust: { options: { assets: ['assets/', '!assets/.jpg'], baseDir: 'tmp/ignorePattern', encoding: 'utf8', length: 16, algorithm: 'md5', deleteOriginals: true }, task1:{ files: [{ expand: true, cwd: 'tmp/ignorePattern/', src: ['ignorePattern.html'] }] }, task2:{ files: [{ expand: true, cwd: 'tmp/ignorePattern/', src: ['ignorePattern1.html'] }] }}