Hi Bimlas

>> To make the browser to pick up changes from the server then you can trigger 
>> polling with the tm-server-refresh message. In my own experiments I often 
>> just change the default polling interval from 60s down to 3-5s (via 
>> $:/config/SyncPollingInterval).
>  
> I'm afraid something is wrong: I created a new wiki ("tiddlywiki --init 
> server"), made a tiddler, changed the text on the file system and issued the 
> $tw.rootWidget.dispatchEvent({type: "tm-server-refresh"}) command in the 
> browser console, but the tiddler has not been updated.

TW5 doesn't support external changes to the filesystem. You should use the HTTP 
API to create/update tiddlers.

> PS.: $:/config/SyncPollingInterval could be documented at 
> https://tiddlywiki.com/#Hidden%20Settings if you agree.

Yes, it should be documented there.

Best wishes

Jeremy

> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywikidev/0cd9d225-d507-4b24-abdd-98db0c0e9e4c%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/A30E11E0-62EB-433A-86B0-04E5620AD197%40gmail.com.

Reply via email to