This repo has some handy handy hooks to run bundle
or npm install
whenever you:
git checkout
a new branch with a different Gemfile or package.jsongit pull
a change to Gemfile or package.json
git clone https://gist.github.com/5869846.git hooks && cd hooks && chmod +x install