question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider moving from `chokidar` to `sane`.

See original GitHub issue

sane is the filesystem watcher used by jest-cli. It supports Linux, OS X, and Windows, and can use watchman if available. More notably, its dependency tree is significantly smaller than the dependency tree for chokidar. Keep in mind that fsevents should only be required in OS X systems. I played around with it for an hour or two and, for the most part, sane seemed to be able to take the place of chokidar without issue. Would something like this be considered?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:12
  • Comments:20 (13 by maintainers)

github_iconTop GitHub Comments

9reactions
alexander-akaitcommented, May 15, 2018

Yes

2reactions
wtgtybhertgeghgtwtgcommented, Dec 14, 2016

It was. Actually, that tweet is kinda the reason I decided to try this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

move new files from one location to another using chokidar to ...
I am new to node.js and am trying to setup a script to monitor a folder and move any files saved there to...
Read more >
Why is there no *small*, sane Node.js tool for watching file ...
I've been struggling with --ignoreDirectoryPattern because it wants RegExp...and bash loves to expand slashes (/) to absolute paths. chokidar: ...
Read more >
chokidar-graceful-cross-platform - npm package - Snyk
Downloads are calculated as moving averages for a period of the last 12 months, excluding weekends and known missing data points. Maintenance.
Read more >
sane/sane - Gitter
Hi there, I'm new to SANE and hoping to get realtime/websockets working. The docs say you don't need brocfile updates: artificialio/sane#83, need to...
Read more >
chokidar 2 does not receive security updates since 2019 ...
Upgrade to chokidar 3 with 15x fewer dependencies npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found