watchdog
watchdog copied to clipboard
Event path absolute in v1.0.1
I noticed that event paths are always absolute in v1.0.1
In past releases ( 0.10.3 ) paths used to be relative to the path given in the schedule function
I think the old behaviour makes more sense as you can choose between relative or absolute paths
Is there a way to get back to the old behaviour with v1.0.1 ?
Thanks in advance,
Just noticed this while testing a different issue: with the KQueueObserver
in watchdog version 0.10.2 then the behaviour is inconsistent: sometimes the path is absolute, sometimes it's relative:
2020-12-17 11:30:39 - Created file: ./testing.file
2020-12-17 11:30:39 - Modified directory: /Users/thomas/github.com/daehlith/watchdog-issue-737
2020-12-17 11:30:46 - Created file: /Users/thomas/github.com/daehlith/watchdog-issue-737/testing.file
2020-12-17 11:30:46 - Deleted file: /Users/thomas/github.com/daehlith/watchdog-issue-737/testing.file
2020-12-17 11:30:46 - Modified directory: /Users/thomas/github.com/daehlith/watchdog-issue-737