@E3V3A But also means you lose the metadata stored in .git
to manage (incl. update later) via .git
without renaming the folder.
Why not have updatenotification
iterate over/skip modules on the blacklist? Something like changing this line in node_helper.js
:
if (defaultModules.indexOf(moduleName) < 0) {
To the following?
if (defaultModules.indexOf(moduleName) < 0 &&
this.config.ignoreModules.indexOf(moduleName) < 0){
This means if the module is either (1) in defaultModules
or (2) in the (new) ignoreModules
it gets skipped.
Remember to also add ignoreModules: []
to defaults
in updatenotification
. You can then avoid altering the filesystem whatsoever.