A Fish plugin that watches the current directory and runs a command on any changes.
This plugin requires Fswatch.
Install this plugin with Fisher:
fisher install gregorias/watchcwd.fish
For example, run run-unit-tests
every time you modify a file:
my_project $ watchcwd run-unit-tests