Open carine-laine opened 9 months ago
After giving this some thought, the 'refresh/recompile/F5' button is the way to go. I had thought to put a file watch on the imports, but that leads me down the rabbit hole of keeping track of imports, imports that import (and so on), additions to the imports and deletions of the imports. All of course doable, but that is a bug factory, and a refresh button is causing something to happen that is already coded to happen.
I've got a large PR I'm working on, but I'll get to this right after that gets accepted.
I agree - KISS.
Use case: Working with imports and several files, diagram preview on the right side. When I update one of the imported files, I have to go back to the diagram file and hit save to refresh the preview. It'd be better if I could just click on a button in the preview itself.
Visually, that would be something like the Obsidian plug-in (although it doesn't seem to support imports at all)