Skip to content

Enhancement proposal: Watching for changes in reference materials should be configurable #617

Closed

Description

@h8ghbzc9bbr8c7

A small enhancement proposal:

When adding a reference material directory to a project, Askimo automatically adds watches to detect changes to the files in the directory. This is good and helpful. On Linux Askimo uses the inotify interface of the linux kernel to handle these watches. The inotify syscall requires adding a watch to each dir and file in the watched area.

There are some problems/questions:

  • The maximum number of inotify watches a user can use is limited (inotify is not cheap). On a normal configured system this limit is reached rather soon.
  • When the number of watches exceeds the limit, Askimo throws an exception and stops adding watches. The error is not shown to the user who thinks that all is fine.

IMHO it would be helpful

  • to make it configurable for a reference material whether changes should be watched
  • to allow the user through a button "Rescan" to explicitely trigger a new scan.

Activity

  1. added
    enhancement
    help wanted
    on Aug 8, 2026
  2. haiphucnguyen commented on Aug 8, 2026

    @haiphucnguyen
    Collaborator

    Thank you @h8ghbzc9bbr8c7 for your recommendations. It is really helpful to users. I created a following up implementation ticket at #619

  3. haiphucnguyen commented on Aug 26, 2026

    @haiphucnguyen
    Collaborator

    We make this configurable watch option in this PR #675. You can build the app from the latest code to test this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions