-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a 'recompile' button #133
Comments
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. |
Fixes terrastruct#133 This was fun. Tasks *really* want to be asynchronous, but I needed them to be synchronous.
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)
The text was updated successfully, but these errors were encountered: