watchdog icon indicating copy to clipboard operation
watchdog copied to clipboard

Event path absolute in v1.0.1

Open stef1205 opened this issue 4 years ago • 1 comments

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,

stef1205 avatar Dec 14 '20 23:12 stef1205

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

CCP-Aporia avatar Dec 17 '20 11:12 CCP-Aporia