Created
May 6, 2014 13:37
-
-
Save scarney81/e1546c352df34d8f8b64 to your computer and use it in GitHub Desktop.
increase file watch count and grunt watch
This file contains hidden or 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
alias hammer=gruntWatch | |
function gruntWatch() { | |
# increase file watch limits | |
sudo launchctl limit maxfiles 10480 10480 | |
ulimit -n 10480 | |
# remove existing build directories | |
rm -rf ./_dist | |
# build and watch | |
grunt build; grunt watch | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment