fix: run node-gyp rebuild when a project has a binding.gyp file#8325
fix: run node-gyp rebuild when a project has a binding.gyp file#8325
node-gyp rebuild when a project has a binding.gyp file#8325Conversation
|
💖 Thanks for opening this pull request! 💖 |
|
I believe the fix should happen in the |
I've moved this logic into |
fa432eb to
ac36a0d
Compare
|
checkBindingGyp is only called inside the buildDependency. regardless of whether there was a module to build in the project or not, I think I should check binding.gyp. |
|
I modified the test. I also made very small changes to the implementation so that the existing test would not be broken. |
node-gyp rebuild when a project has a binding.gyp file
|
Congrats on merging your first pull request! 🎉🎉🎉 |
checkBindingGyp was called only within buildDependency. I don't know exactly, but because of that, checkBindingGyp didn't explore if the chunks weren't circulating inside buildModules.
I've changed this to check unconditionally before install script is executed. But I'm not sure if this is the correct fix. If you give me your opinion, I'll reflect on the test as well.
Fix: #8293