title: HHVM - How to use hh_client properly
body: <p>So I was excited to jump into some Hacklang and HHVM, and after finally managing to get it running on a CentOS 6 VM (tip: servergrove.com have a RPM from a repo of theirs, but it still needed MySQL 5.0 shared libraries to work - still the closest I could find to an easy CentOS 6 install though...), I thought I would tackle a reasonably small PHP project of mine as a good test case for converting to strict Hack code.</p>
  
  <p>I'm getting through the code alright, but I don't think I fully understand how hh_client is supposed to work. I created a <code>.hhconfig</code> file in the root of my project, and then ran <code>hh_client start</code> from the directory, and it seems to start ok - I see three <code>hh_server -d /var/www/html/groundwork</code> processes running after doing this. However every time I want to type check my code, I have to run a <code>hh_client check</code>, where as the language being used in the docs and other sources keeps suggesting this is supposed to be a real time checker that automatically feeds back - I could run a <code>watch hh_client check</code> I guess, but it seems like I'm missing something.</p>
  
  <p>I made sure to get a copy of the hhi files as suggested by <a href="https://stackoverflow.com/questions/22741727/common-php-functions-in-hack">Common php functions in hack</a></p>
  
  <p>Also, sometimes when I start hh_client it reports stuff that a check straight afterwards won't, despite not changing anything in code. The check is often fewer in errors. Stopping and starting hh_client reports more again.</p>
  
  <p>Thanks.</p>