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

[Feature request] Option to not run on start #16

Closed
Napam opened this issue Feb 9, 2025 · 2 comments
Closed

[Feature request] Option to not run on start #16

Napam opened this issue Feb 9, 2025 · 2 comments

Comments

@Napam
Copy link

Napam commented Feb 9, 2025

Hello, I have a use case right now where I want to not run the command "on start", that is, when I do this:

wgo echo hello

I don't want echo hello to run immediately.

Do you think it would be reasonable to have a "lazy" flag? e.g:

wgo -lazy echo hello

@Napam Napam changed the title [Feature request] Option to to not run on start [Feature request] Option to not run on start Feb 9, 2025
@bokwoon95
Copy link
Owner

After looking at both entr and watchexec, seems like they call it the --postpone flag.

I will add it as -postpone, i.e.

wgo -postpone echo hello

@Napam
Copy link
Author

Napam commented Feb 9, 2025

that sounds very good! thank you very much!

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