I am developing a button ui package for react native. I try to build an example project to test this button. The directory structure is as follows:
my-button
Try wml (https://github.com/wix/wml)
It's an alternative to npm link that actually copies changed files from source to destination folders
npm link
# add the link to wml using `wml add ` wml add ~/my-package ~/main-project/node_modules/my-package # start watching all links added wml start