Dev mode is not re building / reloading in monorepo context (nx)
See original GitHub issueWhat version of Remix are you using?
1.4.1
Steps to Reproduce
- Create a monorepo with NX (I assume it’s the same with turbo repo)
- Create a remix application
- Create a library
- Import something from the library into the application
- Start the application in dev mode
- Save some change in the library file.
Alternative that might go quicker:
- Fork https://github.com/npirotte/hello-visx
- run
npm i
- run
nx dev demo
- do some changes in
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.
Issue Analytics
- State:
- Created a year ago
- Reactions:7
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Nx: Smart, Fast and Extensible Build System
Next generation build system with first class monorepo support and powerful integrations. ... Trusted by developers, enterprises and open-source projects.
Read more >Power Up Your Dev Experience with Nx.io - Telerik
You can utilize monorepo style development by developing multiple applications within a workspace and employing reusable libraries across React, ...
Read more >The Case for Monorepos: A sane Workspace Setup (Part 2)
Learn how to setup dev tooling in a monorepo, run tasks efficiently, release multiple packages and overcome common DevOps challenges.
Read more >Lerna/Yarn -> Nx: Faster Build Times + Better Dev Ergonomics
In this video I'll compare monorepo tools such as Lerna/Yarn workspaces/PNPM workspaces with Nx. The video walks you through the steps of ...
Read more >Effective React Development with Nx
Monorepos are monolithic and not for building microservices and mi- ... The nx.json file configures Nx. We're going to have a closer look...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
Already created an example implementation here: https://github.com/remix-run/remix/pull/2985