From c9242e32fec12e154b679a45b4fc48637c1aa458 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Wed, 29 Aug 2018 18:21:46 +0000 Subject: [PATCH] Auto-generated configs and modules are now cleaned when starting a new dev or prod task --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 81d838b5..65ea0339 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -22,7 +22,7 @@ module.exports = function (grunt) { // Tasks grunt.registerTask("dev", "A persistent task which creates a development build whenever source files are modified.", - ["clean:dev", "exec:generateConfig", "concurrent:dev"]); + ["clean:dev", "clean:config", "exec:generateConfig", "concurrent:dev"]); grunt.registerTask("node", "Compiles CyberChef into a single NodeJS module.", @@ -38,7 +38,7 @@ module.exports = function (grunt) { grunt.registerTask("prod", "Creates a production-ready build. Use the --msg flag to add a compile message.", - ["eslint", "clean:prod", "exec:generateConfig", "webpack:web", "inline", "chmod"]); + ["eslint", "clean:prod", "clean:config", "exec:generateConfig", "webpack:web", "inline", "chmod"]); grunt.registerTask("default", "Lints the code base",