Updating a node module doesn't affect the program

I'm experiencing something weird.

I have a node project that uses an external module imported with npm into the node_modules directory.

Now I am making a change in the node module code and when I run my app the change doesn't kick in (I know because i've put console.log() there).

Am I missing something here ? Does node caches it's modules somehow ? Or does it sound like something local ?

Thanks.

This should definitely work.

However, if the same module is also included as a dependency of an other module, it would be inside the node_modules of that module. And if that's the one being used, this is the one you would need to change.