Skip to content
This repository was archived by the owner on Mar 8, 2018. It is now read-only.
This repository was archived by the owner on Mar 8, 2018. It is now read-only.

Add options to change reload interval and ignore sys.modules #16

@AdamG

Description

@AdamG

sha: 50e8347

I'm not quite happy with this change - it seems to me that watching sys.modules should be a default-true option of its own - but it maintains backwards compatibility while allowing the use case that I needed - watching a particular file while ignoring sys.modules.

The reason for not watching sys.modules is just to avoid len(sys.modules) * child processes * num spawning instances stat calls every second. --reload-interval has the same purpose.

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