@@ -45,8 +45,8 @@ wait-on http-get://localhost:8000/foo && NEXT_CMD # wait for http 2XX GET
4545wait-on https-get://myserver/foo && NEXT_CMD # wait for https 2XX GET
4646wait-on tcp:4000 && NEXT_CMD # wait for service to listen on a TCP port
4747wait-on socket:/path/mysock # wait for service to listen on domain socket
48- wait-on http://unix:/var/SOCKPATH:/a/foo # wait for http HEAD on domain socket
49- wait-on http-get://unix:/var/SOCKPATH:/a/foo # wait for http GET on domain socket
48+ wait-on http://unix:/var/SOCKPATH:http://server /a/foo # wait for http HEAD on domain socket
49+ wait-on http-get://unix:/var/SOCKPATH:http://server /a/foo # wait for http GET on domain socket
5050```
5151
5252```
@@ -81,8 +81,8 @@ Description:
8181 tcp: - TCP port is listening. ex: 1.2.3.4:9000 or foo.com:700
8282 socket: - Domain Socket is listening. ex: socket:/path/to/sock
8383 For http over socket, use http://unix:SOCK_PATH:URL_PATH
84- like http://unix:/path/to/sock:/foo/bar or
85- http-get://unix:/path/to/sock:/foo/bar
84+ like http://unix:/path/to/sock:http://server /foo/bar or
85+ http-get://unix:/path/to/sock:http://server /foo/bar
8686
8787Standard Options:
8888
@@ -163,8 +163,8 @@ var opts = {
163163 ' https-get://my.com/cat' ,
164164 ' tcp:foo.com:8000' ,
165165 ' socket:/my/sock' ,
166- ' http://unix:/my/sock:/my/url' ,
167- ' http-get://unix:/my/sock:/my/url'
166+ ' http://unix:/my/sock:http://server /my/url' ,
167+ ' http-get://unix:/my/sock:http://server /my/url'
168168 ],
169169 delay: 1000 , // initial delay in ms, default 0
170170 interval: 100 , // poll interval in ms, default 250ms
0 commit comments