rimble-ui icon indicating copy to clipboard operation
rimble-ui copied to clipboard

Node_modules not updating when altering code

Open RhinocerosBomb opened this issue 6 years ago • 1 comments

Describe the bug I'd like to help out with some of the bugs but i'm having a hard time getting the demo to update when changes to rimble_ui is made.

To Reproduce Steps to reproduce the behavior:

  1. yarn install in the root, and yarn install in the demo directory.
  2. Make changes to library. For example: changing /src/ToastMessage/index.js
  3. yarn start in the demo directory

Expected behavior node_modules in the demo directory does not update to reflect the changes made

Rimble UI Version

  • 0.10.0 (latest)

Desktop (please complete the following information):

  • OS: Ubuntu 18.04.3
  • Browser: chrome
  • Version: 77

Additional context I have tried doing yarn install , yarn install --no-lockfile, and yarn update to get it to change but node_modules never updates

RhinocerosBomb avatar Oct 28 '19 18:10 RhinocerosBomb

Hi @RhinocerosBomb - thanks for taking a look and wanting to help with bugs!

You can get the library to re-compile on change by running yarn start from the root rimble-ui directory. This will watch the /src directory for changes and recompile the library that is used in the demo app. So you will need 2 terminals, both running yarn start - one for the library and one for the react app.

We need to update our instructions for how to work on the codebase. I think that should be the outcome to close this issue.

MikeLockz avatar Oct 30 '19 09:10 MikeLockz