Created
October 22, 2014 09:50
-
-
Save Stanton/dd6f1002bdc1d8782ce5 to your computer and use it in GitHub Desktop.
Grunt post-merge Git hook
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
PATH="/usr/local/bin:/usr/local/share/npm/bin:$PATH" | |
#!/bin/sh | |
grunt sass:dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Runs the
grunt sass:dev
task any time you pull from the remote repository to ensure you compile any changes that may come down.Handy to make sure any other developers you are working with have this also have it installed, we have it as part of our repository and it's installed with:
cp hooks/post-merge .git/hooks/post-merge; chmod -R u+x .git/hooks/post-merge;