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.

with-yarn-workspace doesn't Hot Reload changes from another package even after yarn already updated dependency

See original GitHub issue
  1. npm init next-app --example with-yarn-workspaces with-yarn-workspaces-app
  2. yarn dev
  3. open browser, foo is there
  4. open packages/foo/index.js, change module.exports = "foo"; to module.exports = "foo12";
  5. yarn updated foo in top-level node_modules folder to foo12
  6. check the browser, still foo
  7. refresh the browser, still foo
  8. re-run next dev, check browser, foo12 finally shows up.

Expect: Update packages/foo/index.js should trigger hot reload without re-running next dev

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:10
  • Comments:19 (13 by maintainers)

github_iconTop GitHub Comments

3reactions
martpiecommented, Nov 24, 2020

This is not a Next.js bug, this can be closed.

You can follow the progress on this issue on the next-transpile-modules repo. 😉

V5 will probably get released this week, and should fix it.

2reactions
ScriptedAlchemycommented, Nov 3, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Hot Reload is not working in my React App - Stack Overflow
To solve the problem in hot reloading/fast_refresh I simply add CHOKIDAR_USEPOLLING=true in package.json:
Read more >
XAML Hot Reload for Xamarin.Forms - Microsoft Learn
Reload changes to your XAML file instantly on your running application so you don't have to build your Xamarin.Forms project after every ...
Read more >
Yarn lock: how it works and what you risk without maintaining ...
If you've ever built an npm library you might have stumbled across a problem with outdated or randomly updated sub dependencies.
Read more >
Plug'n'Play | Yarn - Package Manager
An overview of Plug'n'Play, a powerful and innovative installation strategy for Node.
Read more >
WebDev 101: How to use npm and Yarn | Unicorn Utterances
On Node 12, when you switch to Node 14, and attempt to run a create-react-app command, you'll find yourself with a "cannot find...
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