We currently have process reuse disabled in main.js, but considering how the native modules we use are now context-aware, we can start looking more into enabling process reuse.
There are other processes to look into, but for now, I would like to concentrate just on the extensionHost and watcherService. For those, I'm wondering
- Are the processes killed + restarted during a reload?
- Are the processes killed + restarted when a user opens a new folder or workspace? I'm currently trying to see if such actions are equivalent to a reload right now, but haven't yet found the code.
- If yes to 1 and/or 2, can they be set up in a way using IPC such that the main process can send a reset signal during reloads? This way, we can continue using the same child process, and it's just the state of the child process that gets reset.
We currently have process reuse disabled in
main.js, but considering how the native modules we use are now context-aware, we can start looking more into enabling process reuse.There are other processes to look into, but for now, I would like to concentrate just on the extensionHost and watcherService. For those, I'm wondering