How does real-time update detection and frontend-backend integration work? #4566
-
Hi everyone, I’m curious about how GitButler detects updates in the repository in real time. For instance, if I change the content of a file in the repository, how does GitButler reflect this change almost instantly? Additionally, could someone explain how the backend integrates with the frontend to enable this real-time update? Any detailed insights would be really appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It's always good to be curious, thanks for asking! The short version is that here is the entrypoint, which starts a file-monitor in the background which receives filesystem events. These events are then processed and posted to the frontend which responds to them. That's already it, and you would be able to follow along by starting at the entrypoint above. |
Beta Was this translation helpful? Give feedback.
It's always good to be curious, thanks for asking!
The short version is that here is the entrypoint, which starts a file-monitor in the background which receives filesystem events. These events are then processed and posted to the frontend which responds to them.
That's already it, and you would be able to follow along by starting at the entrypoint above.