Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Switch from pywatchman to watchfiles #1244

@jmbowman

Description

@jmbowman

The watchman/pywatchman combination that Django uses in runserver to efficiently monitor file changes currently doesn't work above Python 3.8. Before we finish a Python 3.11 or 3.12 upgrade, we should switch over to django-watchfiles (or at least revisit the issues tracking this to see if a better solution is available by then).

Another advantage of doing so: this would eliminate the need to install the native watchman package, as watchfiles is a standard pip install that includes pre-compiled Rust code for performance.

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions