Skip to content
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

Creating / renaming files gets interrupted when FS watcher detects any tree changes #923

Closed
juliusv opened this issue Aug 21, 2019 · 0 comments · Fixed by #857
Closed

Creating / renaming files gets interrupted when FS watcher detects any tree changes #923

juliusv opened this issue Aug 21, 2019 · 0 comments · Fixed by #857
Labels
bug Something isn't working

Comments

@juliusv
Copy link

juliusv commented Aug 21, 2019

  • code-server version: 1.1156-vsc1.33.1
  • OS Version: Ubuntu 18.04

Description

When there are underlying changes to files anywhere in the opened directory on the FS, any create-file or delete-file dialogs that allow you to type a file name directly in the FS tree in the editor get cancelled when the editor detects the change. When there are frequent changes on the FS, this makes creating / renaming files impossible.

I'm running into this issue e.g. with Prometheus, which constantly writes a write-ahead log to disk in a subdirectory of the one that I want to edit.

Steps to Reproduce

  1. ./code-server
  2. In same directory: while [ 1 ]; do sleep .1; touch foo.txt; done
  3. Try to create or rename files through the web UI
@juliusv juliusv added the bug Something isn't working label Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant