You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a great tool. I really like it. Thank you!
My issue is that I'm not seeing the updated patch without deleting node_modules.
I'm likely a bit confused about what to expect when I apply the patches. I'm in a React dev environment, so using node to serve the app. I have updated patches and can confirm visually that the changes are in the patches directory as expected. However, despite a forced reload of my browser, the updated patch does not show up.
Here is my workflow:
update the source file in node_modules
rebuild the patch with yarn patches/package-name
visually confirm the updates by cat patches/package-name.patch
apply the patch to my project ./node_modules/.bin/patch-package
yarn start
I can also just run yarn install in step 4 because I have the "postinstall": "patch-package" entry in my package.json file.
Either way, I don't see the updated patch in the code loaded into the browser (despite a hard reload).
What works is deleting node_modules and running a fresh install. That workflow is troublesome, but hopefully, I can avoid it while debugging the patch.
Thank you in advance for any pointers!
The text was updated successfully, but these errors were encountered:
This is a great tool. I really like it. Thank you!
My issue is that I'm not seeing the updated patch without deleting node_modules.
I'm likely a bit confused about what to expect when I apply the patches. I'm in a React dev environment, so using node to serve the app. I have updated patches and can confirm visually that the changes are in the patches directory as expected. However, despite a forced reload of my browser, the updated patch does not show up.
Here is my workflow:
yarn patches/package-name
cat patches/package-name.patch
./node_modules/.bin/patch-package
I can also just run
yarn install
in step 4 because I have the"postinstall": "patch-package"
entry in my package.json file.Either way, I don't see the updated patch in the code loaded into the browser (despite a hard reload).
What works is deleting node_modules and running a fresh install. That workflow is troublesome, but hopefully, I can avoid it while debugging the patch.
Thank you in advance for any pointers!
The text was updated successfully, but these errors were encountered: