mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-04-21 00:49:09 +00:00
7 lines
233 B
JavaScript
7 lines
233 B
JavaScript
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
|