Skip to content

symbolic links break watcher #56

@vvuk

Description

@vvuk

I'm seeing a case where I've got some symbolic links to modules that are dynamically loaded. Jurigged shows Watch ... with the symlink name, and never sees any changes. e.g. something like:

mkdir foo
echo "def f(): print('0')" > foo/__init__.py
mkdir bar
cd bar
ln -s ../foo .
echo 'import time, foo' > test.py
echo 'while True: foo.f(), time.sleep(1)' >> test.py

jurigged -v -w / test.py will show Watch .../bar/foo/__init__.py, and changes to that file won't be reflected. If the symlink is removed and foo is moved under bar directly, things work as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions