Alternatives to watchexec

Watches a folder and reruns a command whenever a file changes, for test loops, linting and rebuilds. The listings below can replace it for an important use case. Each note says what changes if you switch.

The original

Replacements

Listings that take over the same core job as watchexec.

  • entr

    Runs a command whenever the files you pipe into it change.

    entr runs a command when files piped into it change, composing with Unix pipes, but it watches a fixed list, misses newly created files and has no native Windows build.

Similar software

Related functionality, not a direct replacement.