Reputation: 123
My new client code in /client/main.coffee
Xingyun = Meteor.connect "localhost:3000"
System = new Meteor.Collection "system", Xingyun
Meteor.subscribe "system"
In my original meteor code, the "system" is published and the "system" collection contains one doc. I can verified it with "System.find().count()".
On my new client browser, "System.find().count()" always return 0.
Upvotes: 5
Views: 2954