question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Changes to files not being reflected in IDE

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
RomanNikitenkocommented, Sep 14, 2017

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

0reactions
RomanNikitenkocommented, Nov 10, 2017

So I’m closing the issue, feel free to reopen it when you have another use case

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code change is not being reflected in the idea plugin
Select the File / Settings... menu to open the Settings dialog. Click the Plugins tree node on the left side to view the...
Read more >
Intellij IDEA does not detect file changes - Stack Overflow
It might be that your browser cache is storing outdated info, so updates to the static files are not reflected immediately on your...
Read more >
Visual Studio is not detecting changes in files and solutions ...
When I edit a file (including a project file), I get no prompt from VS that the file changed. So I have to...
Read more >
Git not adding changed files to unstaged changes area
1) Shut down MyEclipse to avoid file locks. · 2) Copy your project (with your mods) into another location on your system. ·...
Read more >
Using Git in Apache NetBeans
Using Git Support in NetBeans IDE - Apache NetBeans. ... To initialize a Git repository from existing files that are not in source...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found