Created
June 9, 2016 12:40
-
-
Save jeppeburchardt/d1730283b44413da039d48f7e9b54ceb to your computer and use it in GitHub Desktop.
Setup RAM disk, install repo and start rsync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diskutil erasevolume HFS+ 'TSRAM' `hdiutil attach -nomount ram://4194304` | |
cd /Volumes/TSRAM && pwd | |
git clone [email protected]:trendsales/frontend-architecture.git | |
cd frontend-architecture && pwd | |
npm install | |
./sync.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export GREP_COLOR='1;35' | |
cd /Volumes/TSRAM/frontend-architecture && pwd | |
fswatch ~/trendsales/frontend-architecture | xargs -n 1 -I {} rsync -av ~/trendsales/frontend-architecture /Volumes/TSRAM --exclude "frontend-architecture/node_modules" --exclude "frontend-architecture/.git" --exclude "frontend-architecture/build" | grep --color . & | |
npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment