I often symlink my local soroban build into target/bin/soroban. If I forget to remove target from clean, then this quickly gets deleted, which leads to unexpected behavior.
So I've been running reset over and over with target removed from the list of clean targets, and I haven't noticed any problems.
The
clean
command was improved in https://github.com/stellar/soroban-example-dapp/pull/122, but it may have been made somewhat too aggressive.I often symlink my local
soroban
build intotarget/bin/soroban
. If I forget to removetarget
fromclean
, then this quickly gets deleted, which leads to unexpected behavior.So I've been running
reset
over and over withtarget
removed from the list ofclean
targets, and I haven't noticed any problems.