Open natevw opened 11 years ago
This is because CouchDB’s startup is async as well, after we launch the cli script, we need to periodically request http://couch_url:port/ until we get a valid response before emitting 'start'.
Should be easy to write, if you fancy :)
It'd be cool if this could notify only after the spawned CouchDB was ready for connections.
The code above doesn't work for two reasons: