Reread file when exiting editor invoked by e
to see new changes automatically
#638
Labels
enhancement
New feature or request
e
to see new changes automatically
#638
Is your feature request related to a problem? Please describe.
I find it a bit tedious that when I press
e
to edit a file, I edit the file in Neovim etc. And when I quit out, my file doesn't reflect the changes I just made to the file.Describe the solution you'd like
I would like the file to reflect what I have just saved when I quit out of the editor, perhaps when returning focus to glow, it does a reread?
Describe alternatives you've considered
I can't really think of an alternative, I know watch is on the horizon, but it would be nice to have a hotkey to refresh the document or have glow refresh itself (both would be great honestly, so it can be reread if you edited the file from something not invoked by glow)
Additional context
I'm using neovim, so I guess this applies to anything defined by $EDITOR, I am not sure if this is generally applicable for external editors.
The text was updated successfully, but these errors were encountered: