Reputation: 308
Simple question...
So I've installed a node module and I want to make some tweaks to it, but any changes I make to the code are not reflected in my app. Do I need to rebuild it manually or something once I edit it?
Upvotes: 0
Views: 264
Reputation: 804
It's a bad habit to change third party modules. You won't be able to update it. The better way may be to overwrite it somehow in your application (e.g. overwrite methods in intializers, patch during the build process, etc).
But if you still need to make changes exactly in the module code, you may have to rebuild it according to instructions in the module repository readme file. You would have to switch to the module directory in order to do that.
Upvotes: 1