Nyxynyx
Nyxynyx

Reputation: 63687

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?

Upvotes: 1

Views: 476

Answers (1)

Kuba Wyrobek
Kuba Wyrobek

Reputation: 5273

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'.

Source

Upvotes: 3

Related Questions