Add watchman watch-del to clean script (#8797)

* Add watchman watch-del-all to clean script

This ensures watchman watches are reset during cleanup, preventing issues after upgrades.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Use watchman watch-del instead of watch-del-all

Only reset watches for the current project directory instead of all watches.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Jesse Hallam
2025-04-24 19:05:30 -03:00
committed by GitHub
parent b01cc5ea34
commit d33ad7b2a0

View File

@@ -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