I've reproduced the problem on Linux with the following directory structure (mkdir -p A/{B,C}):
Now watch dir A and run the following commands:
cd A
mkdir B/X
mv B/X/ C/
touch C/X/hello
Expected result:
File object in create event should use the path .../A/C/X/hello
Actual result:
File object in create event uses the path .../A/B/X/hello (Notice the B instead of a C).
I've reproduced the problem on Linux with the following directory structure (
mkdir -p A/{B,C}):Now watch dir
Aand run the following commands:cd A mkdir B/X mv B/X/ C/ touch C/X/helloExpected result:
Fileobject in create event should use the path.../A/C/X/helloActual result:
Fileobject in create event uses the path.../A/B/X/hello(Notice the B instead of a C).