diff --git a/README.md b/README.md index 53610a8..43b1d66 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ observable.stdout.on("data", function() { // get all content from STDOUT as a string const text = observable.stdout.fullText() -// wait for content on STDOUT +// wait for text to appear in STDOUT await observable.stdout.waitForText("server is online") // wait for a regex on STDOUT