Skip to content

oxlint issue when git config core.fsmonitor is set to true #620

@gkiely

Description

@gkiely

Describe the bug

Starting vite-plugin-checker with oxlint enabled and git config core.fsmonitor set to true shows an error and stops the dev server.

Reproduction

https://github.com/gkiely/vite-oxlint

npm i && npm run dev

Expected behavior

Should start the server and show oxlint errors

System Info

System:
    OS: macOS 15.5
    CPU: (10) arm64 Apple M1 Pro
    Memory: 1.91 GB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.11.1 - /Users/grantkiely/.volta/tools/image/node/24.11.1/bin/node
    Yarn: 1.22.22 - /Users/grantkiely/.volta/tools/image/yarn/1.22.22/bin/yarn
    npm: 11.6.2 - /Users/grantkiely/.volta/tools/image/node/24.11.1/bin/npm
    bun: 1.3.4 - /Users/grantkiely/.bun/bin/bun
    Watchman: 2025.04.28.00 - /opt/homebrew/bin/watchman
  Browsers:
    Brave Browser: 140.1.82.166
    Chrome: 142.0.7444.176
    Edge: 140.0.3485.66
    Firefox: 145.0.2
    Safari: 26.0.1
  npmPackages:
    vite-plugin-checker: ^0.12.0 => 0.12.0

Additional context

Output:

npm run dev

> [email protected] dev
> vite

  VITE v7.2.7  ready in 109 ms

  ➜  Local:   http://localhost:5173/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
[oxlint] Found 0 error and 0 warning

node:internal/event_target:1122
  process.nextTick(() => { throw err; });
                           ^
Error: UNKNOWN: unknown error, watch '/Users/grantkiely/code/vite-oxlint/.git/fsmonitor--daemon.ipc'
    at FSWatcher.<computed> (node:internal/fs/watchers:254:19)
    at watch (node:fs:2539:36)
    at createFsWatchInstance (file:///Users/grantkiely/code/vite-oxlint/node_modules/chokidar/esm/handler.js:126:16)
    at setFsWatchListener (file:///Users/grantkiely/code/vite-oxlint/node_modules/chokidar/esm/handler.js:171:19)
    at NodeFsHandler._watchWithNodeFs (file:///Users/grantkiely/code/vite-oxlint/node_modules/chokidar/esm/handler.js:325:22)
    at NodeFsHandler._handleFile (file:///Users/grantkiely/code/vite-oxlint/node_modules/chokidar/esm/handler.js:391:29)
    at NodeFsHandler._addToNodeFs (file:///Users/grantkiely/code/vite-oxlint/node_modules/chokidar/esm/handler.js:615:31) {
  errno: -102,
  syscall: 'watch',
  code: 'UNKNOWN',
  path: '/Users/grantkiely/code/vite-oxlint/.git/fsmonitor--daemon.ipc',
  filename: '/Users/grantkiely/code/vite-oxlint/.git/fsmonitor--daemon.ipc'
}

Node.js v24.11.1

Validations

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions