Skip to content

Commit

Permalink
try harder to stop dfx
Browse files Browse the repository at this point in the history
  • Loading branch information
yanliu38 committed Aug 13, 2024
1 parent bae73b3 commit 216a4c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ script = '''
set -eEuo pipefail
cd ic-canister
dfx stop || true
for i in {1..10}; do dfx stop && break || sleep 1; done;
dfx start --background
while true; do
dfx ping local && break;
Expand Down Expand Up @@ -58,7 +58,7 @@ script = '''
#!/usr/bin/env bash
set -eEuo pipefail
(cd ic-canister && dfx stop)
( cd ic-canister && for i in {1..10}; do dfx stop && break || sleep 1; done; )
'''

[tasks.all]
Expand Down

0 comments on commit 216a4c3

Please sign in to comment.