Skip to content

Instantly share code, notes, and snippets.

@seia-soto
Created June 3, 2018 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seia-soto/eaccaf24053c035371fdc2486fb7321f to your computer and use it in GitHub Desktop.
Save seia-soto/eaccaf24053c035371fdc2486fb7321f to your computer and use it in GitHub Desktop.
Deleting cache of required file in NodeJS
delete require.cache[require.resolve('./*')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment