watchexec/watchexec

Maintenance: ActiveApache-2.0Rust

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

  1. Monitors the current directory and all subdirectories for changes
  2. Runs on OS X, Linux, and Windows without a language runtime
  3. 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

Latest release 6 Oct 2026

Checked 25 Nov 2026

Download page on GitHub

Star growth

7 days: no figure yet30 days: no figure yet

watchexec/watchexecmacrozheng/malljesseduffield/lazygitanuraghazra/github-readme-statsLines show growth in percent since the first day.

Other options for the same problem

Last activity 21 Nov 2026. Website

Cite as: watchexec on OpenPick, https://openpick.ing/r/watchexec, data as of 27 Nov 2026.

Ask your AI about this repo: OpenPick MCP

Report a mistake

Open on GitHub