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
Changes in modules included in the server bundle through serverDependenciesToBundle during development does not auto-refresh the browser and reflect the changes made until the dev server is restarted again.
changes in ui package does not auto-refresh the remix site. You could only visualize the dev server only after you restart the dev server again.
Suggestion:
I reckon this should work in conjunction with serverDependenciesToBundle and I am proposing that Remix watch the file changes in serverDependenciesToBundle the same way it watches appDirectory during development. I've tried the proposed solution in #1193 (comment) and it works
Wondering if the Remix team would give a thumbs up to this idea? Would be glad to work on this
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Problem
Changes in modules included in the server bundle through
serverDependenciesToBundle
during development does not auto-refresh the browser and reflect the changes made until the dev server is restarted again.Example
In a monorepo setup where there are shared packages outside of the Remix project such as the kitchen sink example in turborepo
changes in
ui
package does not auto-refresh the remix site. You could only visualize the dev server only after you restart the dev server again.Suggestion:
I reckon this should work in conjunction with
serverDependenciesToBundle
and I am proposing that Remix watch the file changes inserverDependenciesToBundle
the same way it watchesappDirectory
during development. I've tried the proposed solution in #1193 (comment) and it worksWondering if the Remix team would give a thumbs up to this idea? Would be glad to work on this
Beta Was this translation helpful? Give feedback.
All reactions