tiddly-gittly / TidGi-Desktop

TidGi is an privacy-in-mind, automated, auto-git-backup, freely-deployed knowledge management Desktop note app, based on Tiddlywiki, with REST API for web-clipping and Anki connect. 「 太记 」是一个基于「 太微 TiddlyWiki 」的知识管理桌面应用,能保护隐私内容、高级自动化、自动Git云备份、部署为博客,且可通过RESTAPI与Anki等应用连接。(迭代开发中欢迎试用,开发进度见下方链接)(Under active development, see website below for details)
https://tidgi.fun
Mozilla Public License 2.0
1.75k stars 111 forks source link

bug: Tiddlers that are modified by external applications cannot be synced and rendered immediately #418

Closed heavenkiller2018 closed 1 year ago

heavenkiller2018 commented 1 year ago

Environment 环境信息

no

Description 描述

Tiddlers that are modified by external applications cannot be synced and rendered immediately. Moreover, if I further edit them with TiddlyWiki, the earlier modifications will be lost. This often leads me to restart TidGi for maintaining consistency between the contents. The entire process is quite laborious.

Perhaps, a mechanism similar to HMR in frontend can be integrated to ensure synchronization between local tiddler files and the current contents within the app.

I am particularly fond of the 'Open In External App' plugin since I prefer editing tiddlers (mostly in Markdown) with Typro.

Steps to Reproduce 复现方式

no

Additional Context 额外上下文

no

linonetwo commented 1 year ago

Try https://github.com/tiddly-gittly/watch-fs

You can report bug there, it still need sone test before I announce it in the talk forum...

linonetwo commented 1 year ago

And you can try "restart service" in the context menu to do a full-reload at any time.

heavenkiller2018 commented 1 year ago

It effecs on restarting the service, which takes approximately 20 seconds to complete.

linonetwo commented 1 year ago

you mean watch-fs? You can create reproduce and rise issue there.

On my side it doesn't slow like this.