Skip to content

The chokidar library encountered an issue where it tries to access the .git/logs directory, resulting in an UNKNOWN error code. #1395

Open
@Arison99

Description

Explanation Notes for Pull Request #1389

Problem Description

The chokidar library encountered an issue where it tries to access the .git/logs directory, resulting in an UNKNOWN error code. This issue occurs specifically when using Django-Tailwind on Windows. The error prevents the library from functioning correctly under these conditions.

Solution Implemented

To resolve this issue, the _handleError method in index.js was modified to ignore the specific error caused by accessing the .git/logs directory. This change ensures that the library continues to function without being disrupted by this particular error.

Important Points

  • The modification involves adding a check in the _handleError method to handle and ignore the specific error.
  • This solution is targeted at users who face this issue when using Django-Tailwind on Windows.

You can view the pull request here.

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