Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Arison99 opened this issue Dec 10, 2024 · 0 comments

Comments

@Arison99
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant