Any work in your codespace is automatically saved, so rebuilding your codespace does not affect your work.
Resolution
In your lab, open the Command Palette.
- In the codespace Activity Bar, click
› Command Palette. - Windows: Ctrl+Shift+P
- MacOS: Command+Shift+P
- In the codespace Activity Bar, click
In the Command Palette, type Codespaces: Rebuild Container.
Press Enter.
In the confirmation window, click Rebuild.
The codespace is rebuilt with the latest features and optimizations. This might take a few minutes.