From f1015ab62ef53b813bf6fd13329d168548eb57c3 Mon Sep 17 00:00:00 2001 From: Joren Date: Sun, 6 Oct 2024 00:14:46 +0200 Subject: [PATCH] Change watched file name --- src/watcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/watcher.go b/src/watcher.go index ffd1da8..af839f4 100644 --- a/src/watcher.go +++ b/src/watcher.go @@ -81,5 +81,5 @@ func processWatchedFile(filePath string) { return } - go processItems(tempFile.Name(), items) + go processItems(filepath.Base(tempFile.Name()), items) }