-
Notifications
You must be signed in to change notification settings - Fork 28.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows PATH is not refreshed upon restarting vscode #181323
Comments
All VS Code windows share the same environment, you need to close all windows (ie. close the main process) in order to refresh the environment. /duplicate #47816 |
I did that but the bug report I shared did not have a vscode history. I found that only New Window will load the path. Other ways of opening vscode only restore what was previously used. |
If you closed them all, the only way an old environment could come is if you're using a "revived terminal" where the history shows up and it re-launches, as that uses the original environment. Still #47816 is what you're after. |
Type: Bug
I added yarn to my PATH and I can see it with Windows environment variables. When I restart Code, it does not pick up the changes to PATH. I can confirm the changes are valid on another new CMD prompt and other terminals.
VS Code version: Code 1.77.3 (704ed70, 2023-04-12T09:16:02.548Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: Yes
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (5)
A/B Experiments
The text was updated successfully, but these errors were encountered: