Skip to content

Watcher interrupt on SIGHUP #2642

Closed

Description

@trulede

Description

Support SIGHUP for watcher so that a watched task will restart if receiving SIGHUP. The watcher currently restarts on SIGINT and SIGTERM.

Extracted from #1174

Activity

  1. added theissue type on Jan 20, 2026
  2. added
    help wantedIssues that could benefit from members of the community contributing their expertise or experience.
    good first issueIssues that are good for first-time contributors to pick up.
    area: watcherChanges related to the Taskfile watcher.
    and removed
    state: needs triageWaiting to be triaged by a maintainer.
    on Jan 20, 2026
  3. tsics commented on Mar 5, 2026

    @tsics

    @trulede

    Hi, can I work on this issue? It seems like I just need to add the SIGHUP at the following line:

    signal.Notify(ch, os.Interrupt, syscall.SIGTERM)

    Thanks!

  4. trulede commented on Mar 5, 2026

    @trulede
    ContributorAuthor

    @tsics Stick with the one you have, see how it goes.

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

    area: watcherChanges related to the Taskfile watcher.good first issueIssues that are good for first-time contributors to pick up.help wantedIssues that could benefit from members of the community contributing their expertise or experience.

    Fields

    No fields configured for feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址