·
3 commits
to main
since this release
Patch Changes
- #273
8cf6b2fThanks @whoiskatrin! - Add process readiness detection with port and log pattern waiting
TheProcessobject returned bystartProcess()now includes readiness methods:process.waitForPort(port, options?): Wait for process to listen on a port- Supports HTTP mode (default): checks endpoint returns expected status (200-399)
- Supports TCP mode: checks port accepts connections
- Configurable timeout, interval, path, and expected status
process.waitForLog(pattern, options?): Wait for pattern in process output- Supports string or RegExp patterns
- Returns matching line and capture groups