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.

Auto Hot Reload Flutter on VSCode

See original GitHub issue

Describe the bug it just suddenly wont work , not sure it is about the auto update of vscode from 1.50.1 to 1.51.0

Versions (please complete the following information):

  • VS Code version: 1.51.0
  • Dart/Flutter extension version: 3.16.0
  • Flutter SDK version: 1.22.1

Update (after question posted 10min) I downgrade vscode version to 1.50.1 , hot reload back to normal , so not sure why vscode 1.51.0 not compatible to current version of Dart/Flutter vscode extension

Out of topic vscode 1.51.0 seem not auto reveal “jumping” to my flutter project file (vscode sidebar), downgrade to 1.50.1 back to normal again . weird.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Nov 9, 2020

Thanks for the report! I’m unable to reproduce this - hot reload on-save seems to work as expected. Are you able to capture a log?

  • Run your application as normal
  • Run the Dart: Capture Debugger Logs command from the command palette
  • Make a change to your app and click Save
  • Click Cancel on the logging notification to open the log file
  • Attach the log file here

vscode 1.51.0 seem not auto reveal “jumping” to my flutter project file (vscode sidebar)

Someone else has mentioned this - though I believe this is a VS Code issue. I can reproduce it even with explorer.autoReveal: true so I think it should be raised at https://github.com/microsoft/vscode. Thanks!

0reactions
DanTupcommented, May 8, 2022

@alx-xlx it’s difficult to provide a good answer without more details. I’m not aware of any current issues relating to hot reload. If you’re having problems, please file a new issue and include a detailed description of what you’re doing, what you’re seeing, and what you expect to see.

Comments on closed issues can be easily overlooked, whereas open bugs are much more visible.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode hot reload for flutter - Stack Overflow
v3.42 and above: You can enable hot reload on autosave in the latest version by setting Flutter Hot Reload On Save to allIfDirty...
Read more >
Hot reload - Flutter documentation
Hot reload works by injecting updated source code files into the running Dart Virtual Machine (VM). After the VM updates classes with the...
Read more >
Flutter & VS Code: Auto Trigger Hot Reload on Save
Flutter & VS Code: Auto Trigger Hot Reload on Save · If you're using Windows, go to File > Preferences > Settings (hotkeys:...
Read more >
VS Code support - flutter-view
Adding the hot reload commands ... After installing the extension, press cmd+shift+P to open the command palette in VSCode and pick the Preferences:...
Read more >
Difference Between Hot Reload and Hot Restart in Flutter
Perform Hot Restart: · Run your flutter editor from the app or using the command prompt. · Once your flutter project has been...
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