From dbef43d376883cabdfe3c55f96845f430250d343 Mon Sep 17 00:00:00 2001 From: Antoine Aflalo <197810+Belphemur@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:06:47 -0400 Subject: [PATCH] fix(watch): fix watch command not using proper path --- cmd/watch_command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/watch_command.go b/cmd/watch_command.go index 90dcb60..366c152 100644 --- a/cmd/watch_command.go +++ b/cmd/watch_command.go @@ -116,7 +116,7 @@ func WatchCommand(_ *cobra.Command, args []string) error { case inotifywaitgo.CLOSE_WRITE, inotifywaitgo.MOVE: err := utils.Optimize(&utils.OptimizeOptions{ ChapterConverter: chapterConverter, - Path: path, + Path: event.Filename, Quality: quality, Override: override, Split: split,