Open dcalacci opened 8 years ago
This is a great library, and I'd like to use it for a project I'm working on, but I've run into an issue that I'm not sure how to solve.
If I have a collection on a meteor server that the client is subscribed to:
server:
exampleCollection = new Mongo.Collection("example_collection"); Meteor.publish('example_collection', function() { return exampleCollection.find({ limit: 100, }); });
and I subscribe on an asteroid client, and register a change event:
change
client
conn.subscribe('example_collection'); exampleCollection = conn.getCollection('example_collection'); exampleRQ = exampleCollection.reactiveQuery({}); exampleRQ.on('change', function() { console.log("example changed!"); });
and then do an insert on the server side: server
exampleCollection.insert({name: "I am an object"});
the change event is never fired. Is this a known issue?
I have the same problem as well
same here :-1:
Alternatively, if someone could give me some pointers on where to look, I can try fixing this myself?
Was this issue ever figured out?
This is a great library, and I'd like to use it for a project I'm working on, but I've run into an issue that I'm not sure how to solve.
If I have a collection on a meteor server that the client is subscribed to:
server:
and I subscribe on an asteroid client, and register a
change
event:client
and then do an insert on the server side: server
the
change
event is never fired. Is this a known issue?