Thanks for the input, everyone! I like the node.js restart suggestion a lot - I'm currently using the standalone HTML version, but I've been thinking about switching to the node version.
On Wednesday, January 4, 2017 at 1:24:45 PM UTC-6, Rob Hoelz wrote: > > Hi TiddlyWiki users and devs! > > I've been using TiddlyWiki for a while now, and I've had an issue that I'm > finally trying to solve. > > I use TiddlyWiki on multiple machines, and in order to synchronize changes > between them, I took a dumb, but simple and effective, > route of just storing my wiki.html file in a Git repository and > pushing/pulling between the various machines. This works pretty well, > only there's a small caveat: if I pull and forget to reload the TiddlyWiki > page, I can end up potentially undoing changes I made on another > machine. > > For example, let's say I'm working on machine S and I make a series of > changes, which we'll call version A. I pull the changes onto machine > T, reload the tab, and then I make some more changes, which we'll call B. > I go back to S and pull, but forget to refresh the page with TiddlyWiki > open. If > I make some edits and push that up, it'll be some sort of version A', > which will have blown away all of the changes I made between A and B. > > Since this is in a Git repostory, it's not the end of the world - I can > recover the change through the commit history. However, this has bit me a > few times (and it's rather annoying to recover from), and I don't know if > there are times it has happened and I've continued to use my wiki unawares > (I'm working on a script to detect this). I would really like to automate > this to prevent this from happening again. > > I saw this discussion[1] while searching, mentioning syncing of > TiddlyWikis; there are some interesting ideas there, but I didn't see > mention of the problem > I've been experiencing. I've been using the auto reload firefox > extension[2] for the last few days, and it largely does the job, but > unfortunately it's a bit > overzealous - it reloads the wiki every time I save it! It'll work for > now, but I was wondering if other users had some tips or ideas on how to > handle this issue. > Perhaps TiddlyFox could be modified to reload a wiki if it's been changed > outside of the browser? > > Thanks for any help/insight you can offer! > > -Rob > > [1] https://groups.google.com/d/topic/tiddlywiki/irgt8hUmADQ/discussion > [2] https://addons.mozilla.org/en-US/firefox/addon/auto-reload/?src=api > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/797532f4-205b-479f-9ef5-7b8593b3ec80%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

