Unmanic / unmanic

Unmanic - Library Optimiser
GNU General Public License v3.0
1.41k stars 84 forks source link

Revert "Update file monitor to only use "closed" event" #452

Closed BlakeGardner closed 2 months ago

BlakeGardner commented 3 months ago

Pull request

CLA

Checklist

Description of the pull request

This reverts a previously merged PR that after further testing on bare metal linux, Docker and MacOS the behavior is not consistent across all operating systems and runtimes. In some cases the file change is not picked up by just the closed filesystem event, which may explain why the original version of this code has both events.

This is to prevent breaking Unmanic for people who already rely on the file monitor.