grunt.file.recurse dies when working in a directory with an Emacs interlock file
Open
Component: fs
- Dominant language
- JavaScript
- Stars
- 12.2k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
Emacs uses interlock files to prevent simultaneous editing - https://www.gnu.org/software/emacs/manual/html_node/emacs/Interlocking.html
While recursing over directory containing an interlock file, grunt.file.recurse dies with:
Warning: ENOENT, no such file or directory '' Use --force to continue.
Contributor guide
Research direction
Start at the grunt.file.recurse entry point and reproduce the failure with a directory containing an Emacs interlock file. Trace the ENOENT failure during recursion; done means grunt.file.recurse completes without dying when such a file is present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- emacs, javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100