I want to make watchman check for changes in a directory every 1 s or so. How can I do that. I can't find it in the docs.
Make watchman check periodically for changes in a directory
288 views Asked by Aggressive-Support35 At
1
I want to make watchman check for changes in a directory every 1 s or so. How can I do that. I can't find it in the docs.
Watchman's purpose is to avoid needing to do such polls. You can just make a Watchman subscription to watch a directory for changes: https://facebook.github.io/watchman/docs/cmd/subscribe.html