Waypoint plugin and Syncthing
There is some kind of issue with WayPoint and Syncthing for sync.
As soon as a conflict file is created in the folder, waypoint adds it in the dynamic list, which creates another conflict file which gets added to the list, which creates another waypoint update etc. Leading to a gazillion Syncthing error files scattered over the vault since sync will block "syncing: file modified but not rescanned will try later"" forever.
Solved it by disabling waypoint.
I resolved it by ignoring sync-conflict files in the settings as a work around.
I resolved it by ignoring sync-conflict files in the settings as a work around.
Are you talking about the little regex box, if so, can you explain how that thing works? I know what regex is but I don't "get it" when it comes to using it in the box and I can't find any docs on it. Is it a filename per line without the extension, can I use folders/filenames, why does _attachments as the example start with _? I feel like the answer is "probably" simple (hopefully) and my smooth brain is just missing some crucial bit of info.
Trying to create a folder note template file with the waypoint command in it so I don't have to type %% Waypoint %% in every folder note I make, and I also use Syncthing so knowing how to do this method would be two birds one stone and I would sincerely appreciate the info.
For example here is mine:
_.*
.*sync-conflict.*
The _ is just an underscore, so at least for me I have a lot of folders and files with underscores that I want to be treated as hidden from most plugins. And the sync conflict files generated by SyncThing always have sync-conflict in their name, so I just ignore those as well.
You just made it all make sense, thank you sincerely. Entirely forgot how regex worked apparently and that you can match a literal and then just whatever before/after using .*
Caught myself testing this before replying... Unfortunately even if a file is "ignored" by the regex filter, it doesn't stop waypoints from checking for the waypoint flag anyway. I assume the ignore only affects indexing and not the actual processing of the tag. So sadly, I can't get it to ignore a waypoint in a template file that's only used by folder notes to have the waypoint in there by default. bummer.
On the upside I think this fixed my syncthing issue at least.
Ah, apparently this is also discussed here: https://github.com/IdreesInc/Waypoint/issues/90#issue-2160251965
Made some changes in #139 to check for ignored paths when scanning waypoints.
Should mean that you can just add \.sync-conflict to your ignore regex in settings and avoid this issue!