Watch Detector
JSON →The `watch-detector` utility identifies and selects the optimal file watcher mechanism for use with the `sane` library. It prioritizes a valid `watchman` installation on the system, falling back to Node.js's built-in watcher if `watchman` is unavailable or not correctly configured. The current stable version is 1.0.2. Release cadence appears sporadic, with maintenance updates typically driven by upstream `sane` or `watchman` compatibility issues. Its primary differentiator is abstracting the complex logic for choosing between `watchman` and Node's native file system watchers, simplifying `sane` configuration for applications that require robust and performant file monitoring, such as build tools or development servers (e.g., Ember CLI). It aims to provide the best possible performance while offering a reliable fallback, enabling developers to integrate efficient file system observation without needing to implement manual detection logic.
Traffic · last 30 days ↓87% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France