[VS Code] Local extension development: extension development host reloading doesn't work
Summary
When developing locally, when you start the Extension Development Host, you should be able to press CMD+R and that would relaod the window, using the latest extension sources. But because we use Terminate All Tasks
tasks, the reload will kill the watch server.
This makes local development slower because you have to stop and start the host every time you make a change.
Steps to reproduce
- Start the Run Extension launch task
- When the Extension Development Host loads, press
CMD+R
What is the current bug behavior?
The Build and watch Desktop sources task
is killed
What is the expected correct behavior?
The Build and watch Desktop sources task
keeps running after the CMD+R is pressed
Possible fixes
Note: If we remove the Terminate All Tasks
task, the Build and watch Desktop sources task
keeps running even after we close the Extension Development Host. That's the reason we introduced the Terminate task.
Edited by Tomas Vik (OOO back on 2024-11-19)