kaocha

oxalorg (Mitesh) 2022-01-28T12:21:54.258469Z

Hey folks we're looking to replace hawk with beholder in Kaocha because hawk does not watch directories in m1 machines (see PR for more details) I have a PR here which adds beholder as an optional watcher alongisde hawk (configurable using :kaocha.watch/type :beholder), but maybe it makes more sense to replace it completely. https://github.com/lambdaisland/kaocha/pull/268 There are no specific hooks or plugins which directly expose the hawk runner, so I think we should mostly be fine. Does anyone here have a specific use-case which might be affected if hawk gets replaced by beholder?

oxalorg (Mitesh) 2022-01-31T13:56:20.168149Z

Thanks I did exactly as you said, made beholder the default watcher and made hawk configurable through option if someone needs it! 🙂

oxalorg (Mitesh) 2022-01-31T13:56:41.788789Z

Also added a deprecation notice if it finds hawk or hawk-opts being used!

practicalli-johnny 2022-01-31T20:34:31.074019Z

Excellent, thank you.

🙌 2
practicalli-johnny 2022-01-29T13:04:04.315869Z

I suggest replacing hawk with beholder. As a precaution, you could provide an option to configure hawk as the watcher instead of beholder, but I think this would be a very niche case. Happy to test kaocha watch with beholder on my projects

💯 1
🙌 2
Alys Brooks 2022-02-02T18:25:34.933529Z

The only feature I' m aware of that Beholder lacks is the option to fall back to polling. Beholder seems to work better than Hawk, so there's hopefully no need for polling.