Skip to content

sergeysova/awaitfor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Await/For

Command line program to await for service is up.

Purpose

npm i -g awaitfor

await http://dev.mysuperservice.com

Start checking every 1 second by default

Check address: http://dev.mysuperservice.com
#1  Nothing...
#2  Nothing...
#3  Nothing...
#4  Nothing...
#5  Nothing...
#6  Nothing...
#7  Nothing...
--- Address http://dev.mysuperservice.com is available!!! Notify

And show notification with node-notifier

Seconds

You can specify seconds:

await http://service.com 5
Check address:  http://service.com
Wait 5 seconds before try

#1  Nothing...
#2  Nothing...

help

So you can view small help.

await -h
# or
await --help