Smarter prompt to Rebuild Container when devcontainer details change #9572
Labels
containers
Issue in vscode-remote containers
feature-request
Request for new features or functionality
Milestone
When the .devcontainer.json file changes, we get a prompt to rebuild the container, as per #7752. That's great!
However, the setup my team work with has a
dockerComposeFile
entry in devcontainer.json, referring to a compose file which in turn picks up a development container image built by a separate process. If that development image is rebuilt without the content of the devcontainer.json file changing, there is no prompt in VSCode that the container is now out of date.(the process that rebuilds the image does prompt in its output, but our users have a tendency to miss that)
It'd be nice if there was a way to have VSCode prompt to rebuild the container in this case. I did experiment with touching the .devcontainer.json, but it's too smart for that and ignores insignificant changes. I think I can probably achieve the desired effect by reshuffling the order of elements in the file during the update, but it'd be nice if it could just pick up that the image has changed.
The text was updated successfully, but these errors were encountered: