Just a thought.

If the same command line where you do the pull is the one where you launch 
node.js, then you'll always restart node.js after the pull. Because node.js 
was off, the browser page at this point will be full of little yellow 
warnings, which will remind you to refresh it before continuing.

Good luck,
Mark

On Wednesday, January 4, 2017 at 11:24:45 AM UTC-8, 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 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/015f5c3e-e57c-4690-bb60-46ab6e92b21a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to