npx wait-on http://localhost:3000

Category: Node.js & npm/yarn

npx wait-on http://localhost:3000

Wait for a URL or port to become available — useful in CI to wait for a server to start

Blocks until a URL or port is responding — useful in CI scripts to wait for a dev server to start before running tests against it.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.