Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Write to a temporary file, and reload it un updates #3
Conversation
larstvei
added some commits
Sep 4, 2017
mmagnus
merged commit 6cd807b
into
mmagnus:master
Sep 5, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
larstvei commentedSep 5, 2017
Hi!
These commits makes the following changes:
grammarly-save-region-and-runThere is a major caveat: if Grammarly is open, and is not visiting the temporary file we create, then reloading doesn't work. I haven't found a solution to this yet, but I do think it offers a higher degree of automation than before.
The second caveat (which I'm pretty sure was present before my changes), is that Grammarly stores the old version of the file, so it leaves quite a bit of garbage.