SWAT-engineering / SWAT-engineering/java-watch
Use `inotify` on linux to add capability to monitor a single file
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1
- Forks
- 0
- Avg merge
- 14h 40m
- Merged PRs (30d)
- 1
Description
While inotify already appears to be used for directory watches, we can use JNA to setup a file watch using inotify. This would reduce the costs of a full directory watch in case we only need to monitor a single path.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing directory-watch implementation that uses inotify and the JNA integration. Compare the single-file monitoring path with the requested inotify approach, then verify that a single path can be monitored without a full directory watch and that existing watcher behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, linux
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100