Como recarregar um módulo em 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');