-
Notifications
You must be signed in to change notification settings - Fork 48
Fix issue where Undo
after a save deletes the file being edited
#1524
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
Fix issue where Undo
after a save deletes the file being edited
#1524
Conversation
Undo
after a save deletes the file being edited
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but not tested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
94d4a5d
Hi, do we have a delivery timeframe for this fix? Our developers are reporting the loss of significant bodies of work. |
Today |
@mathewrimmingtoncds Version 3.0.1 is out. |
This PR fixes #1522. The issue is that we "recreate" the file when loading changes from the compiler, so Undo undoes this "creation" and deletes the file. I fixed the issue by going back to the
fs.writeFile()
API. This issue is pretty bad, so I'm considering bumping version as part of the PR and doing the 3.0.1 release immediately.