Watchexec
Run commands when files change
Watchexec is a command-line tool that watches a directory for changes and runs a specified command in response, useful for live-reloading and automation. It runs locally as a single binary.
Key features
- Runs commands on file change
- Cross-platform
- Ignore-file aware
- Single binary
Strengths
- Released under the Apache-2.0 license
- Easy to set up — beginner-friendly
- Mature project with 7.2k GitHub stars
- Written in Rust
Is Watchexec secure?
OSV.dev has no published security advisories for Watchexec's repository. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.
Source: OSV.dev, checked 2026-10-14. How this is measured.
Watchexec replaces
Health badge
Maintain Watchexec? Add its health score to your README. The badge links back to this page.
Similar developer tools & git apps
Excalidraw
Developer Tools & GitVirtual hand-drawn style whiteboard
Replaces Miro
lazygit
Developer Tools & GitSimple terminal UI for Git commands
Replaces GitKraken, Sourcetree
Hoppscotch
Developer Tools & GitOpen-source API development ecosystem
Replaces Postman, Insomnia
json-server
Developer Tools & GitFull fake REST API from a JSON file in seconds
Replaces Mockoon, Postman Mock
Strapi
Developer Tools & GitLeading open-source headless CMS
Replaces Contentful
NocoDB
Developer Tools & GitOpen-source Airtable alternative
Replaces Airtable