Alright, I got fs.watch printing console messages anytime a file in the 
tiddlers directory changes. Problem is, fs.watch is reporting each change 
twice. node-watch seems to be what most people use instead of ns.watch 
directly, but is there a way to include a node module without forcing the 
user to install it manually alongside tiddlywiki?

On Tuesday, September 1, 2015 at 11:07:21 AM UTC-7, Jeremy Ruston wrote:
>
> Hi Ben
>
> On Tue, Sep 1, 2015 at 6:53 PM, Ben H. <[email protected] <javascript:>> 
> wrote:
>
>> Dang. Is there any functionality to push changed tiddlers from server to 
>> client?
>>
>
> This is an area that needs working on. Part of it, as Danielo mentioned, 
> is a new file system sync adaptor that can watch for changes in the file 
> system and respond to them. For pushing changes from the server to the 
> browser, I'm a fan of Server Sent Events, much simpler than the more 
> popular sockets:
>
> https://en.wikipedia.org/wiki/Server-sent_events
>
> The file system adaptor is a nice self contained area for somebody else to 
> work on, if you're interested.
>
> Best wishes
>
> Jeremy.
>  
>
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/0f0bc4af-1a9f-4da8-9da0-879322fcc93e%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Jeremy Ruston
> mailto:[email protected] <javascript:>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0a12b274-3131-4f8a-b8b9-cb8131ab8727%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to