7 lines
233 B
JavaScript
Raw Normal View History

2019-11-26 14:50:43 -08:00
var addPath = require('.').addPath;
addPath(process.cwd());
// https://github.com/jhnns/rewire/blob/master/lib/index.js
delete require.cache[__filename]; // deleting self from module cache so the parent module is always up to date