Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow built-in livereload while stopping on SIGHUP #105

Open
CosmicToast opened this issue Mar 31, 2019 · 0 comments
Open

Allow built-in livereload while stopping on SIGHUP #105

CosmicToast opened this issue Mar 31, 2019 · 0 comments

Comments

@CosmicToast
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant