watchexec/watchexec
watchexec is an open source tool in Developer tools with 7,351 GitHub stars, Apache-2.0 license, actively maintained, as of 27 Nov 2026.
What is watchexec?
Watches a folder and its subfolders for file changes, then runs the command you give it.
- Replaces
- make
- Good for
- Automatically run unit tests after edits
- Run linters or syntax checkers on save
Three takeaways
- Monitors the current directory and all subdirectories for changes
- Runs on OS X, Linux, and Windows without a language runtime
- Loads .gitignore and .ignore files and merges rapid change events into one
What can you use watchexec for?
- Automatically run unit tests after edits
- Run linters or syntax checkers on save
- Rebuild artifacts when source files change
- Restart a server when its files change
Who is watchexec for?
- Developers who repeat the same commands while editing code
- Projects in any language that need a simple file watcher
Who should skip watchexec?
- People who want a full build system or task runner
- Users who need a tool tied to one language ecosystem
Quick answers
- Is watchexec free to use at work?
- Yes. Apache-2.0: Free to use at work. Keep the notices and say what you changed. Not legal advice.
- Is watchexec still maintained?
- Active. 104 commits in the last 90 days. Latest release 6 Oct 2026.
- Does watchexec run on Windows, macOS or Linux?
- Its latest release lists these platforms: Windows, macOS, Linux. Checked 25 Nov 2026.
- How popular is watchexec?
- 7,351 GitHub stars. As of 27 Nov 2026.
- What does watchexec replace?
- watchexec can replace make.
- Stars
- 7,351
- Forks
- 215
- Watchers
- 28
- Stars, 24 hours
- +11
Numbers as of 27 Nov 2026, 13:30 UTC
Health
97 out of 100Active
- Issues
- 344 closed / 29 open
- Pull requests
- 404 merged / 13 open
- Commits, last 90 days
- 104
- Latest release
- 6 Oct 2026 (120 in all)
Checked 25 Nov 2026
Get it
- Windows
- macOS
- Linux
Star growth
7 days: no figure yet30 days: no figure yet