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.