slap-editor / slap

Sublime-like terminal-based text editor
MIT License
6.14k stars 216 forks source link

After saving a newly created file to the current directory, dir tree doesn't show file #394

Open diwu1989 opened 7 years ago

diwu1989 commented 7 years ago

lets say that you are in folder /tmp and you create a new file and save to /tmp/foo the dir tree on the left side will not show foo until you go up a directory and then back down into /tmp

I think whenever a file is saved, the left dir tree should be refreshed.