Skip to content

Relative import is not correctly updated when file change #448

Description

@AndreasArvidsson

I have two files. tests1 imports a function from test2, but if I update the print content in test2 the print out in the log will not update until I touch tests1.
I have a memory of a log entry somewhere along the lines of "updating relative imports", but I don't get anything like that anymore.

version: 0.2.0-220
os: windows 10

test1.py

from .test2 import my_funk
cron.interval("1s", my_funk)

test2.py

def my_funk():
    print("1")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions