Commit a8a9b4b
committed
fix(watcher): resolve symlinked .git path before subscribing
inotify_add_watch fails with 'Not a directory' when the .git path is a
symlink (common with Android's repo tool). Resolve the path with
realpath before passing it to @parcel/watcher so the inotify backend
receives the real directory path.
Fixes #269811 parent 7cc968b commit a8a9b4b
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
| |||
0 commit comments