Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting a 'watched' file errors the watch process #475

Closed
benjamin-asdf opened this issue Feb 24, 2024 · 1 comment
Closed

Deleting a 'watched' file errors the watch process #475

benjamin-asdf opened this issue Feb 24, 2024 · 1 comment

Comments

@benjamin-asdf
Copy link

version

0.6.89

squint watch.

  • Add a cljs file in the dir you watch
  • Delete file

You get such a thing

node:internal/fs/utils:350
throw err;
^

Error: ENOENT: no such file or directory, lstat 'src/InfoIconWithTooltip.cljs'
at Module.lstatSync (node:fs:1668:3)
at FSWatcher. (file:///home/benj/repos/mysentientai-website/node_modules/.pnpm/squint-cljs@0.6.89/node_modules/squint-cljs/lib/cli.js:46:115)
at FSWatcher.emit (node:events:517:28)
at /home/benj/repos/mysentientai-website/node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/index.js:582:16
at Map.forEach ()
at Timeout._onTimeout (/home/benj/repos/mysentientai-website/node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/index.js:580:30)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7) {
errno: -2,
syscall: 'lstat',
code: 'ENOENT',
path: 'src/InfoIconWithTooltip.cljs'
}

watch process terminates.

doesn't matter for really but maybe somebody might consider it a bug.

@borkdude
Copy link
Member

Thanks. Will look at this next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants