I guess you understand that the client and server are two separate instances of TiddlyWiki?
When the client clicks save changes, the tiddler is saved to the wiki store on the client and a change event is queued. The sync adapter gets called with the changes allowing it to save them to where it needs to. The sync adapter calls the server URL with the updated Tiddler data. The server command is behind this and handles the request. The server command updates the wiki store on the server, which "dirties" the server wiki store and queues a change event. Once everything is saved to the server wiki store, the wiki is marked clean and the checkbox turns grey. On the server side, the file system sync adapter is the one that gets called with the changes, which it saves to the file system. The wiki object has an addEventListener handler that you can listen for that change event on. You would want to run the startup module on the node platform only if you are pushing change notifications to the client as I described earlier. Am I understanding you correctly? Hope that helps, Arlen On Sat, Nov 4, 2017 at 6:24 PM, Jed Carty <inmyso...@gmail.com> wrote: > Watching for changes is relatively simple and I have that working, I have > just been watching the file system for changes. I need to set everything up > to have it watch all the appropriate folders and let you modify that while > the wiki is running, but that shouldn't be difficult. > > The only part that I don't have right now is hooking into what the wiki > does when you click on the 'confirm changes to this tiddler' button. The > sync adapters are set up to do this and can be configured in the ways that > I need to configure them, but I haven't been successful writing my own yet. > Pushing to or monitoring multiple wikis isn't the problem. > > -- > 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 tiddlywiki+unsubscr...@googlegroups.com. > To post to this group, send email to tiddlywiki@googlegroups.com. > Visit this group at https://groups.google.com/group/tiddlywiki. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/tiddlywiki/1fc0a38d-c415-44c4-b716-1346b560f173%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/1fc0a38d-c415-44c4-b716-1346b560f173%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSTLKYG-25gK6VAUffMByg9WRRXXvw7-BUiioNZEd6ghOg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.