I can't seem to get the Changes API event to fire.
I subscribe and I have tried changing a document via the Studio as well as making a change in code via the client, but the change API never fires.
Environment:
- RavenDB 5.0.3
- .Net Core 3.1
- Using client certificates for auth
Ideas?
Here's my simple code:
private void SubscribeToDbChanges()
{
Store
.Changes()
.ForDocumentsInCollection<ReferenceDataProvider>()
.Subscribe(change =>
{
Console.WriteLine("Data subscription changed");
Reinitialize();
});
}