-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hupper doesn't work with watchman installed #70
Comments
Thanks for opening this issue. I use watchman all the time with hupper and after some quick sleuthing I discovered that homebrew is shipping a crazy old version (4.9.0 released 2017). It looks like I'll need to test against the newer versions that you are using. It looks like realistically we probably need to support both versions because homebrew has failed to come up with a solution to ship the newer versions. See Homebrew/homebrew-core#60693 for some info on that. It's probably worth noting in the short term that you can override the reloader to get things working again for you. https://docs.pylonsproject.org/projects/hupper/en/latest/#overriding-the-default-file-monitor |
@mmerickel Let me know if you need me to test, I'm a linux user so no homeebrew here ;-) To override the file monitor and get back to the default one, I added
to the Thx for your quick feedback. |
I'm able to repro this issue on macos using the facebook tap to get version 20200816.222424.0:
|
The fix is trickier than I was hoping for, I'll need to spend some actual time to get into it. I'd love it if someone else could though. From what I can tell, watchman's newer versions now require defining a root path that is watched via Required changes seem to be:
For bonus points |
I confirm, it works like a charm. Thanks for your reactivity |
If watchman is installed on the system, hupper fails to monitor files.
watchman's binary version : 20210409.063814.0
hupper version : hupper==1.10.2
Steps to reproduce (using a Pyramid application)
Generates the following errors (returned by the watchman service)
Modifications to any file (.py or .ini file) won't fire any reload action.
The text was updated successfully, but these errors were encountered: