Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh file view when folder updates using inotify API #45

Open
apprehensions opened this issue Oct 18, 2023 · 1 comment
Open

Refresh file view when folder updates using inotify API #45

apprehensions opened this issue Oct 18, 2023 · 1 comment

Comments

@apprehensions
Copy link
Contributor

Linux provides an API for file changes called inotify, xfiles can use this API to refresh or reload the file view for new changes in the folder.

@rhaberkorn
Copy link

Should be optional, though as xfiles should continue to compile on all UNIX platforms. (FreeBSD for instance has a different Kevent-based API, but provides a libinotify in its ports tree.)

At the very least however, you should add a refresh (changedir ".") to xfilesctl after all operations that expect to change the directory contents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants