Facing issue with OPA watch flag not picking up the changes. #159
-
Setup Details - Running opa in docker with bundle and watch command -run --server --log-level debug --log-format json-pretty --watch --bundle with the mounted directory. Is there any bug or fixes available around this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @rest17 👋 Yeah, at least at this point in time, I think the watch functionality is mainly good for development/debugging. I've seen a few reports like this in the past, and I know for a fact file watchers don't work at all for some clustered/distributed file stores. These problems are really hard to track down and fix, and since the feature has mostly been used for development, I don't think there's been a lot of effort poured into improvements here. I wish I had a better answer, but I'd seriously consider just setting up an nginx (or whatever file server you prefer) to server bundles from that for anything more than development or testing. |
Beta Was this translation helpful? Give feedback.
Hi @rest17 👋
Yeah, at least at this point in time, I think the watch functionality is mainly good for development/debugging. I've seen a few reports like this in the past, and I know for a fact file watchers don't work at all for some clustered/distributed file stores. These problems are really hard to track down and fix, and since the feature has mostly been used for development, I don't think there's been a lot of effort poured into improvements here. I wish I had a better answer, but I'd seriously consider just setting up an nginx (or whatever file server you prefer) to server bundles from that for anything more than development or testing.