forked from Ivasoft/mattermost-mobile
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user