question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dev mode is not re building / reloading in monorepo context (nx)

See original GitHub issue

What 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:

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:closed
  • Created a year ago
  • Reactions:7
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
npirottecommented, May 12, 2022

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.

1reaction
npirottecommented, Apr 26, 2022

Already created an example implementation here: https://github.com/remix-run/remix/pull/2985

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found