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

Use inotify to reload dependent files on change only #12

Open
ejv2 opened this issue Jul 15, 2024 · 1 comment
Open

Use inotify to reload dependent files on change only #12

ejv2 opened this issue Jul 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ejv2
Copy link
Owner

ejv2 commented Jul 15, 2024

Rather than using a continuous reload loop to reload the queue file, instead wait for events delivered from the kernel using inotify - falling back to periodic reloads if the API is unavailable or unusable (for instance on some BSDs).

@ejv2 ejv2 added the enhancement New feature or request label Jul 15, 2024
@ejv2
Copy link
Owner Author

ejv2 commented Aug 8, 2024

This is more awkward than it initially appeared because of cross platforming stuff. The libraries which offer this with a wrapper around cgo all seem to be quite platform dependent and I would like to avoid that.

Until I've figured this out more I'm excluding it from v4.0

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

No branches or pull requests

1 participant