Update lerouxb location to fix tests
[gitter.git] / git_hooks / post-checkout
blobb40d4eb680f1644917f076cb62560aedc9314cf8
1 #!/bin/bash
3 if [[ -n $(git diff-tree -r --name-only --no-commit-id $1 $2|grep -E '(package.json|npm-shrinkwrap.json)') ]]; then
4 echo "Packaging has changed. Performing an npm install"
5 npm prune
6 npm install
7 fi