'dfx start' command return

When using CI to test IC apps, I‘ve seen people using sleep 5 after calling dfx start. Is it possible to remove this additional step and let the command „return“ only after it really is ready?
@enzo @claudio

3 Likes

Passed this along @cryptoschindler. Thanks!

4 Likes

You can use a tool to check if the port specified in dfx.json is ready like this: https://github.com/dfinity-lab/linkedup/blob/master/.gitpod.yml#L4

5 Likes

elegant, thanks a lot!

1 Like