Skip to content

Instantly share code, notes, and snippets.

@yenda
Created November 30, 2018 16:27
Show Gist options
  • Save yenda/921717f811613c2ba68e59758e04e122 to your computer and use it in GitHub Desktop.
Save yenda/921717f811613c2ba68e59758e04e122 to your computer and use it in GitHub Desktop.
#/bin/bash
# kill dev server
lsof -i :8081 | awk 'NR!=1 {print $2}' | xargs kill
# In gnome-terminal, go to Edit -> Profile Preferences -> Title. Click the Command tab. Select Hold the terminal from the drop-down menu labelled When command exits. Name the profile hold-terminal
echo "Starting Android Emulator"
AVD_NAME=$1
~/Android/Sdk/emulator/emulator -avd status -wipe-data &
cd status-react-mobile
echo "Cleaning up..."
make clean
make watch-android-avd
echo "you can now use M-x cider-connect-clojurescript to connect to the repl"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment