Skip to content
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

Error reading a model file that hasn't been completely persisted. #22

Open
alfa-ryano opened this issue Mar 14, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@alfa-ryano
Copy link

After editing a large model, when the model is saved, it takes some time to complete saving the model.
However, FileWatcher already reacts and runs the promise and view generation.
Since the model (XML file) hasn't been wholly persisted, the model loading process will throw an error.

@alfa-ryano alfa-ryano added the bug Something isn't working label Mar 14, 2023
@agarciadom
Copy link
Member

We may want to do something like having a patience period between a file having been changed and Picto reacting to it. For instance, when we detect a file having been changed, we don't react to it until it has not been changed any more for 1 second or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants