Add chmod events

This commit is contained in:
Joe Lim committed 2024-04-02 10:58:14 +11:00
1 parent bdc9ba0df7
commit ced735a187
1 file changed
+1 -1
+1 -1
View File
@@ -494,7 +494,7 @@ func (app *app) loop() {
app.ui.draw(app.nav)
}
if ev.Has(fsnotify.Write) {
if ev.Has(fsnotify.Write) || ev.Has(fsnotify.Chmod) {
go func() {
app.nav.fileChan <- newFile(ev.Name)
}()