Skip to content

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

Closed
@juliusv

Description

@juliusv
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions