code: def watch_project(self, path):
      
      # TODO(kwlzn): Add a client.query(timeout=X) param to the upstream pywatchman project.
      try:
        return self.client.query('watch-project', os.path.realpath(path))
      finally:
        self._attempt_set_timeout(self._timeout)
docs: Issues the watch-project command to watchman to begin watching the buildroot.
  
      :param string path: the path to the watchman project root/pants build root.