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.

Hot reload no longer works

See original GitHub issue

ENVIRONMENT

alpha33

OBSERVATION

How reloading has been working well. Now there is no reload when I save a changed component.

Example, I have components like web/src/components/menus/BasicMenu/BasicMenu.js. If I change and save that file, there is no reload visible in the yarn rw dev CLI output, and there is no reload activity in the Chrome developer console (not even the “app didn’t change” message).

Here’s what I see on the yarn rw dev CLI output:

16:44:49  db | Watching... /Users/chris/proj/aw-hammer/api/prisma/schema.prisma
16:44:49  db |
16:44:49  db | ✔ Generated Prisma Client to ./../node_modules/@prisma/client in 137ms
16:44:49  db |
16:44:49 api | Listening on http://localhost:8911
16:44:49 api | Watching /Users/chris/proj/aw-hammer/api
16:44:49 api |
16:44:49 api | Now serving
16:44:49 api |
16:44:49 api | ► http://localhost:8911/graphql/
16:44:49 web | ℹ 「wds」: Project is running at http://localhost:8910/
16:44:49 web | ℹ 「wds」: webpack output is served from /
16:44:49 web | ℹ 「wds」: Content not from webpack is served from /Users/chris/proj/aw-hammer/web
16:44:49 web | ℹ 「wds」: 404s will fallback to /index.html

I see “watching” messages for the schema file and the api project, but not for web.

If I stop and re-start yarn rw dev, the changes become effective. So I don’t think this is an issue with the components, but rather with whatever watcher should respond to file changes.

I’ve been changing React source files, but no project config, so this is kind of mystifying.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
chris-hailstormcommented, Mar 31, 2020

This has continued but it’s sporadic. I haven’t found any helpful clues.

1reaction
chris-hailstormcommented, Mar 13, 2020

I’ve just moved to 0.2.0 so not sure yet. This behavior was sporadic in 0.1.0. I’ll report back on 0.2.0 after a day’s use.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Hot Reload on Visual Studio 2022 - Stack Overflow
Press the Hot Reload icon in the toolbar, then Settings from the icon's context menu (or access via Tools > Settings > Debugging)...
Read more >
Troubleshooting XAML Hot Reload - Visual Studio (Windows)
If Hot Reload is not available · Verify that XAML Hot Reload is enabled · Verify that you use Start Debugging rather than...
Read more >
Hot reload not working - Visual Studio Feedback
I'm trying to use Hot Reload on Android Emulador, but when I do any change in XAML file, the app doesn't update. Looking...
Read more >
C# Hot Reload Broken in VS 2022 17.2.0 Preview 3 #4989
Hot Reload does not work with Windows / Android or IOS. Doesn´t matter if emulator or native device. I have a clean Windows...
Read more >
Anyone else having huge problems with VS 2022 and Hot ...
I've been doing this long enough to have seen hot reload break and fail over ... Sometimes it looks like it work but...
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