How to debug/test changes I make to the repo locally? #588
-
Quick question regarding debugging create-react-native-library - How can I test changes I make locally to the library code? I want to use the local source code with my changes to run the create-react-native-library template to debug some errors I am getting when running it with the 6/18 nightly react-native version, as it is blocking the current integration for RNW. The wiki says I should point it to the following executable:
Changing the path to '../src/index.tx', which is the correct path to |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Did you run https://github.com/callstack/react-native-builder-bob/blob/main/README.md#development-workflow |
Beta Was this translation helpful? Give feedback.
-
After running The command runs the same as if I run it locally, but it doesn't reflect any of the changes I have made after running |
Beta Was this translation helpful? Give feedback.
You need to point to the local JS file after building, not run the npx version - which fetches it from npm.