Hi there,
I try the livedb examples and i can create a file and edit it following the demo.
its like
db = require('livedb-mongo')('localhost:27017/test?auto_reconnect', {safe:true});
livedb = require('livedb').client(db);
livedb.submit('users', 'test', {create:{type:'textv1', data:[1,2,3]}}, function(err, version, transformedByOps, snapshot)
livedb.submit('users', 'test', {op:[{p:["q",0], li:"hello"}], v:1}, function(err)
the thing is how to subscribe the document so i can get the change?
thanks