hound
hound copied to clipboard
Reload config on update
This PR adds automatic reloading of the configuration file when the file is written. It mostly focuses on updates to the repository list. Resolves #287
Thank you for this PR! I'll look it over this weekend. Very excited about this one.
Just as a heads up, there's a pending PR to set up go modules in this repo, which might have implications for how you add fsnotify
:
https://github.com/hound-search/hound/pull/353
I'll prioritize merging that PR in so that it unblocks this PR, but you'll probably need to move fsnotify
once it's merged.
Hey @elliotpeele, thanks for being patient with us. #353 has been merged. Do you mind updating this PR to use go modules instead?
I don't mind updating to use modules. BTW, I found an issue with the PR where over time, as the config gets updated, the indexes get removed. I haven't had time to work on a resolution yet though.
Got it. I'll hold off on reviewing this until I hear more, just so I can prioritize clearing out some of the outstanding backlog.
@salemhilal, I finally got back to this. Found why the indexes were getting deleted when the config updated and updated the PR.
Thank you @elliotpeele! I'm a little swamped at the moment, but I haven't forgotten about this PR. I appreciate the update and will give it a closer look shortly.
Hey! Is there any way in which I can help in getting this merged? I know only a little Go and I'm not at all familiar with Hound's codebase, but if it was rebased on top of head I can run this on our test deployment and report any issues!
hey @kkom, I'm going to try and set aside some time to day to validate this PR. Thanks again (to everyone on this PR) for being patient.
Thanks @salemhilal – let me know if any prolonged testing would help, happy to do it, as I'm just about to set up a POC deployment of Hound!
I'm interested in picking this up if @elliotpeele does not.
@jrarmstro I haven't had time to get back around to this. Feel free to pick it up.
Are there any plans to revive this PR?