DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to reload a module in node.js
delete require.cache[require.resolve('./path-of-file')]; require('./path-of-file');
PREVIOUS
NEXT
Tagged:
#reload
#module
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit