Skip to content

Cannot watch for file changes for files on disk root #1847

Closed

Description

Code version: 0.10.6
OS: Windows 10 x64

I have noticed that if a file is open in code and the file is changed externally, there is no way to know about it until I try to save it. I feel that if the file on the disk and file opened on code is in same state it should automatically reflect the changes made on the disk. This is what every modern text editor do.
Here is how to reproduce it.

  • Create a text file.
  • Open the file in Sublime text, Bracket and Code. In this situation the file is blank in all 3 editors.
  • In Sublime text, write "Hello". Then save.
  • Switch to Bracket, You will see "Hello".
  • Switch to Code, you will see blank.
  • Now again switch to Bracket, write "Hello world". Then save.
  • Switch to Sublime text, You will see "Hello world".
  • Switch to Code, you will see blank.

In both cases Code should reflect the changes made on disk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugupstreamIssue identified as 'upstream' component related (exists outside of VS Code)verifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions