bug
devcontainer cannot auto reconnect, when open same devcontainer with different path at the same time, then rebuild
prepare
Within same devcontainer XXX.
There is
-
/path/to/foo
-
/path/to/bar
And their workspace extension is different
Project manager UI save proejcts.
Results in alefragnani.project-manager/projects.json
{
"name": "foo",
"rootPath": "vscode-remote://dev-container+xxx/path/to/foo",
"paths": [],
"tags": [],
"enabled": true
},
{
"name": "bar",
"rootPath": "vscode-remote://dev-container+xxx/path/to/bar",
"paths": [],
"tags": [],
"enabled": true
},
foo Ctrl+Shift+P >Dev Containers: Rebuild Container
Wait, then foo is OK
expected
Wait, then bar is also OK
actual
But bar UI prompt
Visual Studio Code
Cannot reconnect. Please reload the window.
Click Reload Window
bar is OK
bug
devcontainer cannot auto reconnect, when open same devcontainer with different path at the same time, then rebuild
prepare
Within same devcontainer
XXX.There is
/path/to/foo/path/to/barAnd their workspace extension is different
/path/to/foo/.vscode/extensions//path/to/bar/.vscode/extensions/Project manager UI save proejcts.
Results in
alefragnani.project-manager/projects.json{ "name": "foo", "rootPath": "vscode-remote://dev-container+xxx/path/to/foo", "paths": [], "tags": [], "enabled": true }, { "name": "bar", "rootPath": "vscode-remote://dev-container+xxx/path/to/bar", "paths": [], "tags": [], "enabled": true },fooCtrl+Shift+P>Dev Containers: Rebuild ContainerWait, then
foois OKexpected
Wait, then
baris also OKactual
But
barUI promptClick
Reload Windowbaris OK