gitbutlerapp / gitbutler

The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte
https://gitbutler.com
Other
12.44k stars 489 forks source link

Filewatcher not always working inside AppImage #4713

Open ndom91 opened 4 weeks ago

ndom91 commented 4 weeks ago

Version

0.12.20

Operating System

Linux

Distribution Method

AppImage (Linux)

Describe the issue

When running GitButler via the AppImage, the file watcher sometimes does not work as expected. I then have to reload (Ctrl + R) the application to pick up changes.

I can't quite pin down how to reproduce this consistently, but i have noticed this tends to start to happen after the application has been open for a while.

Running inotifywait -m package.json, for example, to monitor and print inotify events on the package.json file shows that MODIFY events are fired as expected when writing to package.json, but GitButler running simultaneously via the AppImage doesn't display any modified files in my default branch.

How to reproduce

Run GitButler via the AppImage, open a project, change file in project. Observe the changed file not appear in your default branch.

Expected behavior

No response

Relevant log output

No response

mtsgrd commented 3 weeks ago

Would you be able to check if e.g. modifying package.json generates any activity whatsoever? I would let it idle for a bit, then tail -f -n 0 on the log file, and save the change.