diff --git a/scripts/clean.sh b/scripts/clean.sh index 06d5a4748..57bc3f651 100755 --- a/scripts/clean.sh +++ b/scripts/clean.sh @@ -2,6 +2,12 @@ echo Cleaning started +# Reset watchman watches for this project only +if command -v watchman &> /dev/null; then + echo "Resetting watchman watches for this project" + watchman watch-del . 2>/dev/null || echo "No watch found for this directory" +fi + rm -rf ios/Pods rm -rf node_modules rm -rf dist