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.

Git Tab not automatically refreshing.

See original GitHub issue

OS/Web Information

  • Web Browser: Chrome.
  • Local OS: MacOS 11.3 Beta (20E5224a)
  • Remote OS: Railway?
  • Remote Architecture: Railway? (no clue)
  • code-server --version: 3.9.2

Steps to Reproduce

  1. Clone a repo
  2. Save a file
  3. Head to git tab

https://user-images.githubusercontent.com/64027609/114019870-edcc9700-983c-11eb-8890-c43bc8b50b76.mov

Expected

Source control should update automatically

Actual

Nothing, you need to manually refresh

Screenshot

Notes

This issue can be reproduced in VS Code: No

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
ToasterStickscommented, Apr 12, 2021

Yeah as certain times of the day it works

2reactions
JammSpreadcommented, Apr 12, 2021

This may have to do with the number of file watchers or something, as nodemon fails with the error Error: System limit for number of file watchers reached

Oh of course, that must be the reason. Though that seems out of our hands as you can’t modify the system value (because its a read-only file system as you’re running in an unprivileged Docker container) Railway set for the max amount of file watchers.

It probably just doesn’t properly detect file changes and as a result doesn’t automatically update the git tree.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git Tab not automatically refreshing. · Issue #3073
Steps to Reproduce · Clone a repo · Save a file · Head to git tab.
Read more >
Source Control in VSCode is not refreshed automatically
I have reinstalled git. Now I have git 2.35.1 . But still, the Source Control tab is not auto refreshed.
Read more >
Git changes window stop refresh changes
If I change the files, git changes window not show this. I must close and reopen visual studi, worked few tune and again...
Read more >
Git log is not refreshed : IDEA-106771
However, when it comes to the git log (Changes pane, Log tab), it seems to never auto-update. I find myself having to press...
Read more >
Git - Git References
In the current project, this directory contains no files, but it does contain a simple ... This happens when you checkout a tag,...
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