0

I'm getting a very annoying bug when it comes to node caching local modules. I have the file webserver.js which exports an object.

When I update the code in the file, the changes are not reflected. So I assume node is somehow caching this.

How doe one debug this?

basickarl
  • 37,187
  • 64
  • 214
  • 335
  • 1
    http://stackoverflow.com/questions/15666144/how-to-remove-module-after-require-in-node-js ? – Max Koretskyi Dec 28 '16 at 15:04
  • Well, you need to restart the node process, AKA the server for the cache to be cleared. When you work on the node.js backend using `node`, you usually must restart the server between changes. Either manually or through a script like Gulp.js – Vadorequest Dec 28 '16 at 15:06

0 Answers0