title: Is it possible to add a "Precommit hook" on TFS?
body: <p>We want every person that does a push in our git repository to run "grunt" before this is done. We enforce this by having a pre-push hook in <code>.git/hooks/pre-push</code> and writing <code>npm install</code> and <code>grunt</code> in that file.</p>
  
  <p>We also have a TFS repository. I am looking for similar logic to be used here. Meaning, we want a sort of "Gated check-in" when someone tries to check something in. This will only starts up PowerShell and runs <code>npm install</code> and <code>grunt</code> <em>locally</em>.</p>
  
  <p>We don't want TFS to do anything else (run build, run tests etc. (all this is done in the grunt task)).</p>
  
  <p>Is this possible? Anyone know how?</p>