For package maintainers and hackage trustees
Trigger is a cross platform file system watcher for super fast build-and-restart workflows. When files change, it can be configured to:
fswatch and others are good general purpose tools for triggering tasks on filesystem changes.
However, they don't support stopping and starting background processes.
It's Haskell, so download Stack.
Clone and run stack build --install
This should install trigger on your PATH.
If you get linking issues on Windows, see this issue
Create a file named trigger.yaml
Here is an example:
Which consists of: