   my $o = watchman_clock();
        $error = $output-&gt;{error};

        die &quot;Watchman: $error.\n&quot; .
        &quot;Falling back to scanning...\n&quot; if $error;

        output_result($o-&gt;{clock}, (&quot;/&quot;));
        $last_update_token = $o-&gt;{clock};

        eval { launch_watchman() };
        return 0;
}

die &quot;Watchman: $error.\n&quot; .
&quot;Falling back to scanning...\n&quot; if $error;

return 1;</pre>

<p>}</p>

<p>sub get_working_dir {</p>

<pre>my $working_dir;
if ($^