JamesHutchison / pytest-hot-reloading

A hot reloading pytest daemon, implemented as a plugin
MIT License
86 stars 2 forks source link

Correct watchman -> watchdog #80

Closed JamesHutchison closed 7 months ago

JamesHutchison commented 7 months ago

The documentation currently says "watchman", which is a product built by facebook, now meta.

jurigged is using watchdog, which doesn't seem to use watchman at all.

This should be corrected as watchman may be something that could be switched to that could potentially do better.

JamesHutchison commented 7 months ago

I guess this exists now and it uses rust

https://github.com/samuelcolvin/watchfiles

I'm leaning towards just swapping out jurigged's watcher entirely since watchfiles seems to be gaining traction in Django

It also says it uses polling if it detects its running on WSL which I am and is where I'm seeing issues with watchdog, so this fixes the intelligent polling problem