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

add an option to only run the subcommand when files change #22

Open
mmerickel opened this issue May 3, 2017 · 0 comments
Open

add an option to only run the subcommand when files change #22

mmerickel opened this issue May 3, 2017 · 0 comments

Comments

@mmerickel
Copy link
Member

mmerickel commented May 3, 2017

Right now hupper runs the command immediately and then kills / restarts it when files change. Some interesting use-cases open up if it has an option to only run the command when files change. For example:

hupper --wait-for-changes -- docker restart app

If the command exits then hupper already will wait for files to change and run it again. I think this issue is just about not running it at startup.

This is likely contingent on changes in #19

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

No branches or pull requests

1 participant