A fast cross-platform CLI utility for watching file system changes and triggering commands.
Chokidar CLI is a command-line utility that monitors files and directories for changes (like adds, updates, or deletions) and can trigger custom shell commands in response. It solves the problem of manually running repetitive tasks during development by automating workflows based on file system events.
Developers and DevOps engineers who need to automate build processes, run tests, or trigger deployments when files change, especially in cross-platform environments.
Developers choose Chokidar CLI for its reliability, cross-platform consistency, and seamless integration with existing tools, leveraging the proven Chokidar library without writing custom watch scripts.
Fast cross-platform cli utility to watch file system changes
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Works consistently across Windows, macOS, and Linux, with the README specifically addressing shell quoting differences for compatibility.
Supports glob patterns to watch multiple file types, enabling precise control over which files trigger commands based on syntax like '**/*.js'.
Executes custom shell commands on changes with debouncing and throttling options, preventing excessive runs as shown in the --debounce and --throttle flags.
Allows dynamic command responses by injecting changed file paths and event types using {path} and {event} placeholders, demonstrated in usage examples.
Network drive monitoring requires polling mode, which the help text admits can lead to high CPU utilization and is less efficient than native watching.
Cross-platform usage demands careful quoting in commands, with the README warning that single quotes aren't universally supported, making it error-prone.
The tool executes commands but lacks built-in mechanisms for handling command failures, retries, or logging errors beyond basic output.