Closed faysal515 closed 9 years ago
Resync happens automatically as the app is loading, and it is not synchronous. There is no need to call it.
It seems like your isSynced
is just getting called before the initial sync happens. Can you try this code path somewhere after the initial load (i.e. wait 10 seconds)?
sorry for the delayed response. fixed the issue by syncing the time in Meteor.startup
@faysal515 there should be no need for you to call TimeSync.resync()
at all in most cases. It is called upon startup automatically.
thank you for the response. but Firefox threw me sometimes not a number error, thus had to make this up.
The above is my client-side code . Chrome console works fine. But Firefox does nothing instead of re syncing it forcefully.