Refactor to expose “query Watchman” function
commite06a1ba10b5b70d20edc1465b2cc87aa5e81d585
authorKasper Kopec <kasper@fb.com>
Thu, 19 Apr 2018 17:28:38 +0000 (19 10:28 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 19 Apr 2018 17:31:49 +0000 (19 10:31 -0700)
treed5cfea71a43ee723e6475b558bfd6a8f895cb47c
parent49b4dbb8cba1884919b03cfbbe5fe449e524919d
Refactor to expose “query Watchman” function

Summary:
Deciding if and how to query Watchman, querying it, and updating bunch of things based on it is happening all together.
I'll want to do the querying part in some other places too, so I'm refactoring it to a separate function.

Reviewed By: gregory-nisbet

Differential Revision: D7550955

fbshipit-source-id: 6b65c4f88c483528f7190df216b0abc6428d82ea
hphp/hack/src/server/serverMain.ml