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

Wait option has been lost(?) #130

Open
jfstephe opened this issue Feb 22, 2024 · 1 comment
Open

Wait option has been lost(?) #130

jfstephe opened this issue Feb 22, 2024 · 1 comment

Comments

@jfstephe
Copy link

Hi,

I was looking for an option to wait until the current process has terminated before the next one started, and I came across this old functionality: #45

Was this intentionally dropped or superceded by another option that I can't find? If the former, any chance of re-implementing it?

Thanks,
John

PS My scenario is debugging in VSC and test processes don't get killed properly when using the -k option when on a breakpoint, so I was hoping that a '-w' option to wait for the current process to finish would help me.

@blakeembrey
Copy link
Collaborator

So version 5 switched to queue up tasks by default: https://github.com/Qard/onchange/releases/tag/v5.0.0. I believe that's similar to the old --wait option (PR here #67) and what you're describing might be considered a bug. It shouldn't start a new process until the first one is killed.

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

2 participants