watchexec

watchexec 2.5.1

Executes commands in response to file modifications

https://watchexec.github.io/
Apache License 2.0
main program: watchexecprograms: watchexec, test-socketfd
Platforms (38)
riscv32-linuxriscv64-linuxx86_64-linuxpowerpc64-linuxarmv7l-linuxi686-openbsdmips-linuxmipsel-linux
View source on NixOS/nixpkgs →

Install

Copy into your configuration

NixOS (configuration.nix)
environment.systemPackages = with pkgs; [
  watchexec
];
Ad-hoc shell
nix-shell -p watchexec
Flake (nix run)
nix run nixpkgs#watchexec