-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to reload/refresh ShareDB document? #650
Comments
ah, I use del method , it seem works but not sure if is best way |
You want |
many thanks for guide, where can find relative example ? it seem not work if the disk or file was changed by outside |
|
use 'submitOp' save local change to server ? question is , if the document was change by other Editor or user create a new folder on server, what method can sync / refresh ? I found seem no way to sync the change , a little confuse , maybe I have not read the document more carefully |
as topic, a document was created as follow code :
since the document does not reload file from disk realtime, have to reload/refresh document manually,
I use ' shareDBDoc.destory() ', it does not work, report error bellow:
my questions, how to reload or refresh the shareDBDoc ? can not find relative guide from the online document yet..
thank for help in advance
The text was updated successfully, but these errors were encountered: