jeffbski / wait-on

wait-on is a cross-platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become available

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion: --command / -c attribute

slavaGanzin opened this issue · comments

commented

If I want to schedule something which will take sometime can't close session or write some boring boilerplate like:

bash -c 'wait-on mysite.com && do something' & disown

And because I relate on status from wait-on I can't use bg or wait. But if wait-on had --command attribute which will run in daemonized/background mode I don't even need them:

wait-on condition -c 'do something'

As a proposed solution for: #16