Full Reload vs. Hot Reload
See original GitHub issueHi! I was wondering if there is a way to trigger the full App Reload from Dart-Code, same as when pressing capital-‘R’ in a terminal where flutter run
is being run? Hot reload is obviously great, but sometimes you need to throw away the app state, and full reload is a lot faster than quitting and re-starting the debug session.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
What is the difference between Hot Reloading and Live ...
Hot Reload: Hot reload is used to refresh only the file in which code is change Live Reload: Live Reload ...
Read more >Difference Between Hot Reload and Hot Restart in Flutter
A hot restart has a slightly different functionality as compared to a hot reload. It is faster as compared to the full restart...
Read more >Write and debug code by using Hot Reload - Visual Studio ...
Hot Reload, similar to edit and continue, allows you to make changes to your code while running apps.
Read more >Hot reload - Flutter documentation
Flutter's hot reload feature helps you quickly and easily experiment, build UIs, add features, and fix bugs. Hot reload works by injecting updated...
Read more >Hot Reloading: A Faster Way to Develop Modern Apps - Felt
The term 'Hot Reloading' used in this post is used in the general sense to refer to changing the content on the page...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop 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
Top GitHub Comments
When in a Flutter debug session, there will be a “Full Restart” command available in the command palette (added in #368). You can also keybind it from the Keybinding editor in Code. Let me know if you have any issues with it!
@Victory886 if you’re having issues please open a new issue rather than commenting on the end of an old closed issue. But please first upgrade to the latest stable version of Flutter to ensure the issue hasn’t already been fixed. Thanks!