Live Reload in Monorepo Setup #3615
Unanswered
kevinswarner
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following monorepo (using NPM workspaces) and am having trouble getting Remix to reload when changes occur in the library package. I have seen some other discussions, but am not sure if I just need to make some changes to how I have things configured or if Remix is working on a solution.
https://github.com/kevinswarner/remix-issue
Steps to Reproduce
The screens should look similar, with the button being colored purple.
The NextJS app updates to show the change in the Button component. The Remix app does not update.
At this point, the NextJS app updates to show the change. The Remix app "may" update to show the earlier change from step 8, but normally will not. Also, it does not show the update to the CSS change.
You can try various changes to the Button component, and more often than not, the change is not picked up by Remix. It does appear that something happens in the terminal for Remix, but it never appears to update in the browser (or rarely).
Thanks for any help on this issue? I am doing a comparison between Remix and Next for a new project and am looking for a smooth DX. I may move to using Turborepo or NX, but I wanted to get a simple npm workspaces example working first.
Beta Was this translation helpful? Give feedback.
All reactions