You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add an option to control hot-reload-on-save behaviour when using auto-save #3110
If this was working well for some, then I think it's probably fair to have a setting to control it (perhaps extend the existing setting to be an enum for on/off/manual or similar).
Reacted by Oran, Jesper Skand, Muhammad Akif Farhan, encikpulasan, Corey Stewart, E L E A N D R O, Jivitesh Debata, Shubham Mittal, skateboarder, Mirza Jaun and 1 more
Reacted by encikpulasan and Shubham Mittal
Reacted by encikpulasan and Shubham Mittal
Reacted by Muhammad Akif Farhan, encikpulasan and Shubham Mittal
Reacted by Muhammad Akif Farhan, encikpulasan and Shubham Mittal
I guess I underestimated how many people were using this without issues! The dart.flutterHotReloadOnSave will be updated to be an enum in the next release:
dart.flutterHotReloadOnSave
Whether to automatically send a Hot Reload request during a debug session when saving files.
never - do not reload when saving.
always - reload for all saves, manual or automatic.
manual - only reload for manual saves (requires pressing Save explicitly if using autosave).
Reacted by Hossein Moghaddam, Jivitesh Debata, sanalkv, Shubham Mittal, mmazurovsky, Amr Abd El Wahab El Desouky, Gokul and PongPloyDev 2016
Reacted by skateboarder, Mirza Jaun, Corey Stewart, Ilya Kovalyov, GrahamDi, sanalkv, Shubham Mittal, Gokul, encikpulasan and Sahas Prajapati
I guess I underestimated how many people were using this without issues! The dart.flutterHotReloadOnSave will be updated to be an enum in the next release:
dart.flutterHotReloadOnSave
Whether to automatically send a Hot Reload request during a debug session when saving files.
never - do not reload when saving.
always - reload for all saves, manual or automatic.
manual - only reload for manual saves (requires pressing Save explicitly if using autosave).
Asking from @DanTup and @Malware656 to post a working screenshot.
Edit, Thanks to all, Everything is working fine 😄
In vs code, Go to extentions tab then fund dart, (which is installed) then click the settings icon. There you have to find how to see the settings.json file, then you have to pass this code,
"dart.debugExternalLibraries": false,
"dart.debugSdkLibraries": false,
"dart.allowTestsOutsideTestFolder": true,
"dart.flutterHotReloadOnSave" : "always", // < ---- This is the added code.
Activity
RandalSchwartz commentedon Jan 31, 2021
This is intended behavior! See #3033.
[-]No hot reload on auto-save[/-][+]Add an option to control hot-reload-on-save behaviour when using auto-save[/+]DanTup commentedon Jan 31, 2021
If this was working well for some, then I think it's probably fair to have a setting to control it (perhaps extend the existing setting to be an enum for on/off/manual or similar).
encikpulasan commentedon Feb 2, 2021
This is one of the best feature and why i chose VSCode as my primary IDE. Should've make it optional since it works well on mac. Just my 2 cents.
DanTup commentedon Feb 2, 2021
I guess I underestimated how many people were using this without issues! The
dart.flutterHotReloadOnSavewill be updated to be an enum in the next release:dart.flutterHotReloadOnSave
Whether to automatically send a Hot Reload request during a debug session when saving files.
never- do not reload when saving.always- reload for all saves, manual or automatic.manual- only reload for manual saves (requires pressing Save explicitly if using autosave).DanTup commentedon Feb 3, 2021
This change hasn't landed yet, so keeping this open until it does.
Add further granular control over Flutter hot-reloading during saves
gokul656 commentedon Mar 24, 2021
Worked for me, Thanks..
shaadart commentedon Jul 4, 2021
Asking from @DanTup and @Malware656 to post a working screenshot.
Edit, Thanks to all, Everything is working fine 😄
In vs code, Go to extentions tab then fund dart, (which is installed) then click the settings icon. There you have to find how to see the
settings.jsonfile, then you have to pass this code,Now if you run it will work like swift.