Skip to content
Day 69: new resources are added every day. See what's new

Automation Tool

Watchexec

Re-run a command automatically whenever your files change.

Visit Watchexec4.5
  • Rating

    4.5 / 5

  • Pricing

    Free

  • Difficulty

    Intermediate

  • Works on

    Cross-Platform

Built with love by Shushant Lakhyani. Building bestproductivityresources.com

What is Watchexec?

Watchexec watches a path and runs a command whenever it detects modifications. Its README says it works with any language, respects .gitignore files and merges many file events into one run. Typical uses include running tests, linters and rebuilds. It supports macOS, Linux and Windows.

Third-party open-source projects. We are not affiliated with their authors; repositories are provided as-is by their maintainers. Review each project's license, code and security before installing. See our Disclaimer.

Pros: what Watchexec does well

  • Saves you from re-running commands by hand
  • Works with any language or tool
  • Ignores files listed in .gitignore

Cons: where it falls short

  • Aimed at people comfortable with the terminal
  • Little use outside file-based projects

Who Watchexec is for

Anyone who edits files and wants tests or builds to run automatically.

Who can skip it

People who do not work with files and commands.

Watchexec alternatives

Not sold on Watchexec? These do a similar job, and each card says what it has in common.

entr

Shares file watcher and automation with Watchexec. Rated 4.4 (Watchexec: 4.5).

Automation ToolFreeCross-Platform

Task

Focus: task runner and build tool. Shares automation and command line with Watchexec. A desktop app, not an automation tool. Adds macOS, Windows and Linux. Rated 4.6 (Watchexec: 4.5).

Desktop AppFreemacOS, Windows

iTerm2

Focus: terminal, mac and tmux. Shares command line and open source with Watchexec. A Mac app, not an automation tool. Adds macOS. Rated 4.7 (Watchexec: 4.5).

Mac AppFreemacOS

fish shell

Focus: terminal, shell and autocomplete. Shares command line and open source with Watchexec. A desktop app, not an automation tool. Adds macOS and Linux. Rated 4.6 (Watchexec: 4.5).

Desktop AppFreemacOS, Linux

Nushell

Focus: shell and data pipelines. Shares command line and open source with Watchexec. A desktop app, not an automation tool. Adds macOS, Windows and Linux. Rated 4.6 (Watchexec: 4.5).

Desktop AppFreemacOS, Windows

topgrade

Focus: updates, package manager and terminal. Shares automation and open source with Watchexec. A desktop app, not an automation tool. Adds macOS, Windows and Linux. Rated 4.6 (Watchexec: 4.5).

Desktop AppFreemacOS, Windows

Free alternatives to Watchexec

Want to spend nothing? These free picks cover similar ground.

Dasel

Focus: json, yaml and data conversion. Shares command line and open source with Watchexec. A desktop app, not an automation tool. Adds macOS, Windows and Linux. Same 4.5 rating.

Desktop AppFreemacOS, Windows

Coolify

Focus: self-hosting, deployment and hosting. Shares open source and github with Watchexec. A web app, not an automation tool. Adds Web. Rated 4.7 (Watchexec: 4.5).

Web AppFreeWeb

Karabiner-Elements

Focus: keyboard remapping, shortcuts and hyper key. Shares open source and github with Watchexec. A Mac app, not an automation tool. Adds macOS. Rated 4.7 (Watchexec: 4.5).

Mac AppFreemacOS

Apprise

Focus: notifications, alerts and scripts. Shares command line and open source with Watchexec. Rated 4.6 (Watchexec: 4.5).

Automation ToolFreeCross-Platform

Hammerspoon

Focus: mac automation, window management and lua scripting. Shares open source and github with Watchexec. A Mac app, not an automation tool. Adds macOS and Offline. Rated 4.6 (Watchexec: 4.5).

Mac AppFreemacOS, Offline

Kando

Focus: pie menu, launcher and shortcuts. Shares open source and github with Watchexec. A desktop app, not an automation tool. Adds Windows, macOS and Linux. Rated 4.6 (Watchexec: 4.5).

Desktop AppFreeWindows, macOS
Are you the maker of Watchexec?Get a free Featured badge for your site, a share image and ready-to-paste posts. No sign-up.

New · updated daily

What people are actually doing with AI

Real use cases shared on Reddit, Hacker News, X, GitHub and blogs, summarised in plain words with a link to every original post.

Browse AI use cases

Free Notion database

1,100+ ways people are making money online

Real online businesses, creators and projects, broken down by how they make money: apps, online stores, AI tools and more. Free on Gumroad.

Get the free database

Free Notion database

399+ ways to make money online

Hundreds of online income methods in one place, so you can compare options and pick one to try. Free on Gumroad.

Get the free list

For research and ideas only. Results vary and nothing here is a promise of income. See our Disclaimer.

Weekly newsletter

Everything new, every Monday.

One short email every Monday with everything shipped that week: new free tools and websites, new guides, new free browser tools and what's new in my free Gumroad libraries, plus how the site is growing. Free, and you can unsubscribe anytime.

Join the newsletter

You sign up on Gumroad, which stores your email to send the newsletter. See our Privacy Policy.