2024-02-14 19:58:45 +05:30
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
2024-04-01 16:47:48 +05:30
|
|
|
if pgrep -f 'react-native start' > /dev/null; then
|
|
|
|
|
echo "Info: metro is already running in another terminal"
|
|
|
|
|
else
|
|
|
|
|
echo "Info: starting a new metro terminal"
|
|
|
|
|
react-native start --reset-cache
|
|
|
|
|
fi
|