8000 Allow built-in livereload while stopping on SIGHUP · Issue #105 · cortesi/devd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Allow built-in livereload while stopping on SIGHUP #105
Open
@CosmicToast

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.

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

      0