Skip to content

fix: use remoteAuthority with URIs for accuracy #31

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

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

jsjoeio
Copy link

@jsjoeio jsjoeio commented Dec 17, 2021

This PR fixes an issue where the File Explorer wasn't showing newly created files created from the Integrated Terminal. This happened because we weren't including the authority in the URI causing VS Code to think it should not refresh the File Explorer view.

By including the authority, the URI is accurate and everything works as expected.

Solved with @code-asher

Fixes coder/code-server#4630

@jsjoeio jsjoeio self-assigned this Dec 17, 2021
@code-asher code-asher self-requested a review December 17, 2021 22:23
@jsjoeio jsjoeio merged commit 0e2dc9d into main Dec 17, 2021
@jsjoeio jsjoeio deleted the jsjoeio-fix-file-watcher branch December 17, 2021 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File explorer doesn't show new files created from command line
2 participants