Skip to content

Instantly share code, notes, and snippets.

View pedromarta's full-sized avatar

Pedro Marta pedromarta

View GitHub Profile
@jsdario
jsdario / nuke-deps.sh
Last active December 12, 2023 08:36
Script to clean watchman, remove node_modules, clean cache and restart packager for React Native troubleshooting.
#!/bin/bash
# Stop cached listeners
watchman watch-del-all
# Remove installed modules
rm -rf node_modules
# Remove yarn meta files
rm yarn*