-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev mode is not re building / reloading in monorepo context (nx) #2983
Comments
After more testing, I understand that remix listen to events on the |
As an easy and simple solution, I can propose to add an optional configuration in the remix config: export interface AppConfig {
/**
* List of extra paths or globs to watch changes on in addition to the main app directory.
* relative to `remix.config.js`. Defaults to `[]`.
*/
watch?: string | string[]
} This would the be merged to the current list of watched directories:
|
Already created an example implementation here: #2985 |
Having the same issue with NX. Is there an eventual workaround until the fix lands? |
Didn't found anything yet, currently I simply keep the root.tsx file opened, and I hit save on that one when I want to rebuild the app. |
@fknop maybe using patch-package with the changes created by @npirotte in that PR 🤔 |
Would be cool if there was a webhook against the development server that could be pinged to force a rebuild. e.g. http://localhost:3000/__remix__internal__/rebuild I could bind the necessary calls to that within my workflows. |
Closed by #3188 |
🤖 Hello there, We just published version Thanks! |
What version of Remix are you using?
1.4.1
Steps to Reproduce
Alternative that might go quicker:
npm i
nx dev demo
packages/bar-chart/src/lib/bar-chart.tsx
Expected Behavior
App rebuild and reload.
Actual Behavior
Nothing happens, I have to do some change in the app itself to have it reloading.
The text was updated successfully, but these errors were encountered: