Skip to content

Allow built-in livereload while stopping on SIGHUP #105

Description

@CosmicToast

In particular, I'm interested in -l but still dying on SIGHUP.
Use-case: asynchronous starting and stopping of devd through zsh zpty.
When zsh's zpty exits (zpty -d name), it sends a SIGHUP to the backgrounded process.
I'm perfectly fine with the built-in "anything under the root directory" live reloading, but would rather avoid having to explicitly use pkill when I could simply have an on-down hook.

Alternatively, maybe add a flag that overrides -L|-l|-w's special treatment of SIGHUP (so I'd use, for example, -lh, where h would stand for HUP.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions