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,