diff --git a/lib/API/Modules/Modularizer.js b/lib/API/Modules/Modularizer.js index 00e7e3988..d08585445 100644 --- a/lib/API/Modules/Modularizer.js +++ b/lib/API/Modules/Modularizer.js @@ -50,6 +50,19 @@ Modularizer.install = function(CLI, module_name, opts, cb) { return false; } + if (module_name === 'gc-stats') { + installLangModule('gc-stats', function(err) { + if (err) { + Common.printError(cst.PREFIX_MSG_MOD_ERR + chalk.bold.green('gc-stats installation has FAILED (checkout previous logs)')); + return cb(err); + } + + Common.printOut(cst.PREFIX_MSG + chalk.bold.green('gc-stats ENABLED')); + return cb(); + }); + return false; + } + if (module_name.indexOf('typescript') > -1) { // Special dependency install return installLangModule(module_name, function(e) {