In MeteorJS, are files in node_modules cached?


When using a npm package with Meteor v0.6.6.3, making edits to the npm package's code found at node_modules/npmPackage/something.js does not seem to have any effect!

Are the npm packages somehow cached? If so, how can we clear it?

Problem courtesy of: Nyxynyx


Geoff Schmidt from meteor core team wrote one day:

Packages will automatically rebuild themselves when any of their source files change (tracked by SHA1.) However, if you are hacking on the package system itself, you might have a reason to want to force a rebuild of all packages.

You can do this with the undocumented command 'meteor rebuild-all'.


Solution courtesy of: Kuba Wyrobek


There is currently no discussion for this recipe.

This recipe can be found in it's original form on Stack Over Flow.