This repository demonstrates an issue with VS Code's management of background terminals.
To reproduce the issue using the repository:
- Load the extension
- Run the extension's Create Background Terminal command
- Note that the
sleep 2048command is running - Use Developer: Reload Window to reload the window
- Wait exactly 1 minute
- Note that the
sleep 2048command is no longer running
Background terminals should persist through a window reload.