Executes commands in response to file modifications
watchexec
is a simple, standalone tool that watches a path and runs a command whenever it detects modifications.
Example use cases:
Automatically run unit tests
Run linters/syntax checkers
Features:
Coalesces multiple file system events into one, for editors that use swap/backup files during saving
By default, uses .gitignore
and .ignore
to determine which files to ignore notifications for
Supports watching files with a specific extension
Supports filtering/ignoring events based on glob patterns
Launches child processes in a new process group
Sets environment variables that allow the executed program to learn the details of how it was triggered.
System | Target | Derivation | Build status |
---|---|---|---|
x86_64-linux | /gnu/store/85fxchvwj0vh8lv296nxs0yjmkgh2k6m-watchexec-1.14.0.drv | ||
mips64el-linux | /gnu/store/rynnjfai5h5qbv0ln9r9ggakmld0cir6-watchexec-1.14.0.drv | ||
i686-linux | /gnu/store/i3m2v15zspbh703q8cakjzdzj59xlg9k-watchexec-1.14.0.drv | ||
i586-gnu | /gnu/store/6vlsrbd3ak07jmvacby3ism26nmrawdj-watchexec-1.14.0.drv | ||
armhf-linux | /gnu/store/v9nrr77cpj2li2xz0751ijhs3gia6as7-watchexec-1.14.0.drv | ||
aarch64-linux | /gnu/store/dhfzir1j26jl7ncww5pa9a3mk39594yy-watchexec-1.14.0.drv |
Linter | Message | Location |
---|---|---|
No lint warnings ✓ |