che: Changes to files not being reflected in IDE

Files which are open in the workspace are not updated in IDE when updated on the file system.

Reproduction Steps:

  • Open file and edit in IDE
  • Save file
  • git reset --hard HEAD

Expected result

  • File should appear in IDE as it was in the last commit

Actual result

  • File remains the same
  • Close file, and reopen required to update file in IDE

OS and version:

  • Ubuntu
  • Che 5.17
  • Google Chrome

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 1
  • Comments: 18 (16 by maintainers)

Most upvoted comments

I can reproduce it only for case when we have nothing to reset on file system. But when we have something to reset - it works correctly. Please see video. gitresetautosaveturnedoff