Commit 8f4fe71
authored
fix(svelte-check): ignore Unix domain sockets in file watcher (#2931)
svelte-check crashes when encountering Unix domain sockets (e.g., .sock files)
in watch mode because chokidar cannot watch these special files. This adds a
check to ignore sockets using stats.isSocket(), preventing the crash and
allowing svelte-check to continue operating normally.
chore: add changeset for unix socket fix1 parent 0b8af82 commit 8f4fe71
File tree
2 files changed
+6
-0
lines changed- .changeset
- packages/svelte-check/src
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
0 commit comments