-
Notifications
You must be signed in to change notification settings - Fork 184
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
Support ability to terminate previous invocation of command on new event #59
Comments
@F21 Maybe you should give this tool a try: https://github.com/ysmood/gokit Same for issue #58 |
@F21 this can be achieved by using a shell script.
just make sure the |
@abdullah2993 That's not enough, you also need to kill all the subprocesses it creates, or you gonna have leaking issue. |
@ysmood with the script you can kill any(all) processes, in the given example we are only creating a |
@abdullah2993 at least you need to modify your script like this:
The minus before the dollar sign is the point. |
@ysmood you are right. should be |
It would be nice if there is an option to terminate the previous invocation of the command when the command is still executing and a file changes. This would be extremely useful when the command is a task that takes a while to complete and we do not wish to wait for it to finish and want to invoke the command immediate again.
The text was updated successfully, but these errors were encountered: