Cómo recargar un módulo en Node.js
delete require.cache[require.resolve('./path-of-file')];
require('./path-of-file');
Inquisitive Ibex
delete require.cache[require.resolve('./path-of-file')];
require('./path-of-file');