npm install --save no-cache-loader
assert(require("no-cache!./module.js") !== require("no-cache!./module.js"))
// => different objects
This is mostly useful for loading things like JSON fixtures that may be mutated unintentionally.
npm install --save no-cache-loader
assert(require("no-cache!./module.js") !== require("no-cache!./module.js"))
// => different objects
This is mostly useful for loading things like JSON fixtures that may be mutated unintentionally.